Function at 0x80bf32
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
cmp eax, 0xc
mov edx, dword [esi]
mov ecx, esi
jne 0x80bf9a
call dword [edx + 0xec]
mov edi, dword [esi + 0x68]
mov ebx, eax
mov eax, dword [edi + 4]
sub ebx, 0xd
neg ebx
sbb ebx, ebx
inc ebx
test eax, eax
je 0x80bf94
mov ebp, dword [esp + 0x2c]
test ebx, ebx
mov ecx, esi
jne 0x80bf71
mov ecx, eax
mov edx, dword [esp + 0x28]
push ebp
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.0080bf32
mov edi, dword [edi]
mov eax, dword [edi + 4]
add esp, 0x18
test eax, eax
jne 0x80bf69
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [edx + 0x68]
cmp eax, 1
je 0x80bf94
mov edi, dword [esi + 0x38]
mov eax, dword [edi]
mov edx, dword [esi]
mov ebp, dword [edi + 4]
lea ebx, [edi + 4]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0xec]
mov ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x20]
test eax, eax
je 0x80c079
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x2c]
je 0x80c07d
mov edx, dword [ecx]
call dword [edx + 0x24]
test eax, eax
jne 0x80c00a
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x80c00a
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x2c]
mov eax, dword [esp + 0x2c]
cmp edx, dword [eax + 0x2c]
jne 0x80c079
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x64]
test eax, eax
je 0x80bf94
mov ecx, dword [esp + 0x18]
push eax
push ebx
call fcn.00782e62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x80c03f
cmp eax, 2
jne 0x80c14d
mov edi, dword [esp + 0x20]
cmp edi, esi
je 0x80c14d
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
call dword [edx + 0x6c]
test eax, eax
jne 0x80c14d
push 0x14
mov byte [esi + 0x24], 1
call fcn.0083d7f2
add esp, 4
test eax, eax
je 0x80c14d
push esi
push edi
jmp 0x80c138
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x20]
test eax, eax
je 0x80bf94
cmp ebp, dword [esp + 0x2c]
je 0x80bf94
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test eax, eax
jne 0x80c0c6
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x24]
test eax, eax
jne 0x80c0c6
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ecx + 0x2c]
jne 0x80bf94
jmp 0x80c0ca
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x64]
test eax, eax
mov dword [esp + 0x24], eax
je 0x80bf94
mov ecx, dword [esp + 0x18]
push eax
push edi
call fcn.00782e62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x80c0fb
cmp eax, 2
jne 0x80c14d
cmp dword [esp + 0x20], esi
je 0x80c14d
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x6c]
test eax, eax
jne 0x80c14d
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [edi], eax
call fcn.00782e62
push 0x14
mov byte [esi + 0x24], 1
call fcn.0083d7f2
add esp, 4
test eax, eax
je 0x80c14d
mov edx, dword [esp + 0x20]
push esi
push edx
mov ecx, eax
call fcn.00808662
test eax, eax
je 0x80c14d
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0080a3b2
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.007898c2