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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
call fcn.00686f68
lea eax, [esp + 0x20]
push 4
push eax
call fcn.0062a968
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.0062a968
lea edx, [esp + 0x24]
push 4
push edx
call fcn.0062a968
lea eax, [esp + 0x30]
push 4
push eax
call fcn.0062a968
add esp, 0x20
lea ecx, [esp + 0x2c]
call fcn.00663818
xor esi, esi
push esi
push esi
lea ecx, [esp + 0x34]
call fcn.00663898
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [0x1009e8e8]
test al, al
je 0x64116c
lea ecx, [esp + 0x44]
call fcn.00663438
lea ecx, [esp + 0x10]
push 4
push ecx
call fcn.0062a968
add esp, 8
lea ecx, [esp + 0x44]
call fcn.00660188
mov edx, dword [edi + 8]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
call fcn.006637b8
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x30]
call fcn.00663848
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push esi
push pe_nt_image_headers32
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.006638e8
mov ecx, eax
call fcn.00663898
push eax
push esi
lea ecx, [esp + 0xc4]
call fcn.00663868
mov ecx, eax
call fcn.00663898
push eax
mov ecx, edi
call fcn.0063e208
test eax, eax
je 0x641239
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x48]
call fcn.00663758
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x640f5c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], esi
mov eax, dword [ebx]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x640f6e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x640f82
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x78], esi
lea ecx, [esp + 0x34]
call fcn.006637e8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x74]
push edx
call eax
xor ebx, ebx
cmp dword [eax], esi
mov eax, dword [esp + 0x74]
sete bl
cmp eax, esi
je 0x640fb6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x74], esi
cmp ebx, esi
je 0x64149f
lea ecx, [esp + 0x88]
call fcn.00652358
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x88]
push eax
call fcn.00652248
test eax, eax
je 0x64144a
lea ecx, [esp + 0x8c]
push ecx
call fcn.00652a48
add esp, 4
test eax, eax
je 0x641297
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
push 2
lea eax, [esp + 0x90]
push eax
push eax
lea eax, [esp + 0x34]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.006352c8
mov edx, dword [edi + 8]
push edx
lea ecx, [esp + 0x44]
call fcn.006637b8
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x30]
call fcn.00663848
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x44]
push ecx
push esi
push pe_nt_image_headers32
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.006638e8
mov ecx, eax
call fcn.00663898
push eax
push esi
lea ecx, [esp + 0xc4]
call fcn.00663868
mov ecx, eax
call fcn.00663898
push eax
mov ecx, edi
call fcn.0063e208
test eax, eax
je 0x6412ec
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x48]
call fcn.00663758
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov ebx, dword [esp + 0x10]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x38], eax
call edx
mov ecx, dword [esp + 0x38]
cmp ecx, eax
je 0x64135e
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x6410da
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x40]
call fcn.006637e8
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x6410f7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x64110b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x64111f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x641133
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
call fcn.00663bb8
lea ecx, [esp + 0x2c]
call fcn.00663838
lea ecx, [esp + 0x2c]
call fcn.00663818
push esi
push esi
lea ecx, [esp + 0x34]
call fcn.00663898
mov ebx, dword [ebp + 8]
push eax
push ebx
call dword [0x1009e8e8]
test al, al
jne 0x640eae
cmp dword [0x1009e708], esi
je 0x6411c1
push 0x10084ea0
push 0x10090448
push ebx
push 0x1009040c
push 0x100903cc
lea ecx, [esp + 0x90]
call fcn.00625f48
mov ecx, eax
call fcn.00624e78
mov ecx, eax
call fcn.00624e78
mov ecx, eax
call fcn.00624e98
mov ecx, eax
call fcn.00624e78
mov ecx, eax
call fcn.00624e78
lea ecx, [esp + 0x7c]
call fcn.00624d88
push 0x7b
lea ecx, [esp + 0x20]
call fcn.00686f88
lea ecx, [esp + 0x2c]
call fcn.00663838
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x6411e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x6411fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x641211
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x641225
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x1c]
call fcn.00686f98
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x7b
lea ecx, [esp + 0x20]
call fcn.00686f88
lea ecx, [esp + 0x34]
call fcn.006637e8
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x641261
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x641275
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x641289
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
call fcn.00663bb8
jmp 0x6411cc
push 3
lea ecx, [esp + 0x20]
call fcn.00686f88
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6412b6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x6412ca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x6412de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
call fcn.00663bb8
jmp 0x6411cc
push 0x7b
lea ecx, [esp + 0x20]
call fcn.00686f88
lea ecx, [esp + 0x40]
call fcn.006637e8
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x641314
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x641328
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x64133c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x641350
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
call fcn.00663bb8
jmp 0x6411cc
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x641372
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
push edx
call eax
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x641386
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x40]
call fcn.006637e8
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x6413a3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x6413b7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x6413cb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x6413df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
call fcn.00663bb8
lea ecx, [esp + 0x2c]
call fcn.00663838
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x641405
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x641419
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x64142d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x641587
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x20], esi
jmp 0x641587
push 0x7b
lea ecx, [esp + 0x20]
call fcn.00686f88
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x641469
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x64147d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x641491
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
call fcn.00663bb8
jmp 0x6411cc
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
jne 0x6414e8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esp + 0x38]
push edx
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.00635288
lea ecx, [esp + 0x38]
call fcn.006578e8
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x64159e
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x6414ae
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.0068d678
mov eax, dword [ebp + 0xc]
cmp eax, esi
mov edi, dword [esp + 0x34]
je 0x64150d
mov edx, dword [edi]
mov eax, dword [eax]
mov edx, dword [edx + 0x78]
push eax
mov ecx, edi
call edx
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x641521
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x84]
mov ecx, edi
call eax
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x641548
mov esi, dword [edi]
push eax
lea ecx, [esp + 0x80]
add esi, 0x68
call fcn.006638c8
mov ecx, eax
call fcn.00663898
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
lea ecx, [esp + 0x34]
call fcn.006578e8
lea ecx, [esp + 0x10]
call fcn.006578e8
lea ecx, [esp + 0x44]
call fcn.00635f48
lea ecx, [esp + 0x2c]
call fcn.00663838
lea ecx, [esp + 0x14]
call fcn.006358e8
lea ecx, [esp + 0x24]
call fcn.006578e8
lea ecx, [esp + 0x20]
call fcn.006578e8
lea ecx, [esp + 0x1c]
call fcn.00686f98
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 3
lea ecx, [esp + 0x20]
call fcn.00686f88
lea ecx, [esp + 0x10]
call fcn.006578e8
lea ecx, [esp + 0x44]
call fcn.00635f48
lea ecx, [esp + 0x2c]
call fcn.00663838
lea ecx, [esp + 0x14]
call fcn.006358e8
lea ecx, [esp + 0x24]
call fcn.006578e8
lea ecx, [esp + 0x20]
call fcn.006578e8
lea ecx, [esp + 0x1c]
call fcn.00686f98
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10