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

Disassembly:
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0xb8]
lea ecx, [ebx + 0xe8]
push eax
call fcn.00637b28
push 0xffffffffffffffff
lea ecx, [esp + 0x17]
lea esi, [ebx + 0xc4]
push ecx
mov ecx, esi
call fcn.00615b28
test al, al
jne 0x6493a5
mov byte [esp + 0x13], al
jmp 0x6493ae
add dword [esi + 0x10], 1
mov byte [esp + 0x13], 1
mov ecx, esi
call fcn.00653928
mov edi, dword [esp + 0xb8]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], eax
je 0x649433
mov edi, edi
lea edx, [esp + 0x14]
push 4
push edx
mov ebp, eax
call fcn.0062a968
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.006380d8
mov ecx, dword [esp + 0x14]
call fcn.00651b38
cmp eax, edi
je 0x649409
mov ecx, dword [esp + 0x14]
call fcn.006516b8
cmp eax, edi
jne 0x649411
push ebp
mov ecx, esi
call fcn.00619e18
mov eax, dword [esp + 0x14]
test eax, eax
je 0x649429
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x6493c8
xor ebp, ebp
cmp byte [esp + 0x13], 0
je 0x649473
add dword [esi + 0x10], 0xffffffff
jne 0x649473
push ebp
lea eax, [esi + 8]
push eax
mov dword [esi + 0x10], ebp
call dword [0x100840c4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x64946c
push eax
call dword [0x10084078]
mov edx, dword [esi + 0x14]
push ebp
push 1
push edx
call dword [0x100840c0]
mov edi, dword [esp + 0xb8]
lea eax, [esp + 0xb8]
push eax
lea ecx, [ebx + 0x130]
call fcn.00637b28
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xbc]
lea esi, [ebx + 0x154]
push edx
mov ecx, esi
call fcn.00638958
test eax, eax
je 0x6494c0
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call fcn.00638f58
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0060fc78
add esp, 4
lea edx, [esp + 0x20]
push edx
lea ecx, [ebx + 0x58]
mov dword [esp + 0x24], edi
call fcn.006377e8
cmp eax, ebp
je 0x6494e8
push edi
call fcn.00632188
add esp, 4
mov esi, 1
jmp 0x6495e9
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0x7c]
mov dword [esp + 0x2c], edi
call fcn.00637b28
cmp eax, ebp
jne 0x6494d5
lea ecx, [esp + 0x34]
xor esi, esi
call fcn.00663438
lea ecx, [esp + 0x34]
push ecx
push ebp
push pe_nt_image_headers32
push ebp
push edi
lea ecx, [esp + 0x78]
call fcn.00663868
mov ecx, eax
call fcn.00663898
push eax
mov ecx, ebx
call fcn.0063e208
test eax, eax
je 0x6495b8
lea ecx, [esp + 0x34]
call fcn.00660188
mov ecx, eax
call fcn.006521a8
test eax, eax
jne 0x6495b8
mov ecx, dword [0x1009e670]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [ecx + 0xb10]
push 0x38
lea eax, [esp + 0x84]
push eax
mov eax, dword [edx + 0x24]
add ecx, 0xb10
push ebp
push edi
call eax
call eax
test eax, eax
jne 0x64957e
cmp dword [esp + 0x84], 1
jne 0x6495b8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.00663758
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test eax, eax
je 0x6495a8
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push 1
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x6495b8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x6495cc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x6495e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], ebp
lea ecx, [esp + 0x34]
call fcn.00663bb8
lea eax, [esp + 0xb8]
push eax
lea ecx, [ebx + 0xe8]
call fcn.00637b28
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [ebx + 0x10c]
call fcn.006385f8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4