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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov byte [esp + 0xf], dl
push edi
mov dword [esp + 0x1c], esi
mov ebx, dword [esi + 0x78]
mov edi, dword [esi + 0x7c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
cmp ebx, 2
jne 0x64bea0
cmp edi, 0x20000
jne 0x64bea0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x64be87
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x64be87
lea eax, [eax + ecx*4]
add eax, 8
jmp 0x64be8c
mov eax, 0x94dbc8
mov eax, dword [eax]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
nop dword [eax]
push edi
push ebx
call fcn.00423149
add esp, 8
test eax, eax
je 0x64c1bf
mov eax, dword [eax + 4]
cmp eax, 0x9298c8
je 0x64bee6
cmp eax, 0x929080
je 0x64bee6
cmp eax, 0x929768
je 0x64bee6
mov eax, dword [eax + 4]
cmp eax, 0x9298c8
je 0x64bee6
cmp eax, 0x929080
je 0x64bee6
cmp eax, 0x929768
jne 0x64c1bf
mov eax, dword [ebx + 8]
or eax, dword [ebx + 0xc]
je 0x64bf04
push edi
push ebx
mov ecx, esi
call fcn.00699e30
mov ebx, eax
mov dword [esp + 0x20], edx
add esp, 8
mov dword [esp + 0x14], ebx
mov edi, ebx
mov dword [esp + 0x20], edi
mov ebx, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
push ebx
push esi
call fcn.00423149
add esp, 8
cmp eax, 0x929e08
jne 0x64bf49
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.00423149
push ebx
push dword [ebp + 8]
mov eax, dword [eax + 0x24]
call eax
mov edx, esi
add esp, 0x10
mov ecx, dword [edx + 8]
dec ecx
and ecx, eax
mov esi, dword [edx + ecx*8 + 0x10]
mov ebx, dword [edx + ecx*8 + 0x14]
cmp esi, 2
jne 0x64bf56
cmp ebx, 0x20000
je 0x64bf8d
push dword [ebp + 0xc]
mov edi, esi
push dword [ebp + 8]
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.0065caf0
add esp, 0x10
test al, al
jne 0x64bf85
mov esi, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
cmp esi, 2
jne 0x64bf56
cmp ebx, 0x20000
jne 0x64bf56
jmp 0x64bf89
or esi, ebx
jne 0x64bfbf
mov edi, dword [esp + 0x20]
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00423149
mov esi, dword [esp + 0x24]
add esp, 8
cmp eax, 0x929938
jne 0x64bfb4
mov ebx, dword [edi + 0x50]
mov edi, dword [edi + 0x54]
jmp 0x64be94
mov ebx, dword [edi + 0x18]
mov edi, dword [edi + 0x1c]
jmp 0x64be94
mov ebx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
push ebx
push esi
mov dword [esp + 0x28], ebx
call fcn.00423149
add esp, 8
cmp eax, 0x9297d8
jne 0x64c03b
mov eax, dword [esi + 0xc]
test eax, eax
je 0x64c1fd
mov ecx, dword [esi + 0x10]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x64c016
push ecx
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
push dword [ebp + 0x10]
push dword [esp + 0x24]
push ecx
push esi
call eax
add esp, 0x18
mov ecx, esi
call fcn.0065a3a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [esp + 0x20]
push ecx
push esi
call eax
add esp, 0x14
mov ecx, esi
call fcn.0065a3a0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.00423149
add esp, 8
test eax, eax
je 0x64c06b
mov eax, dword [eax + 4]
cmp eax, 0x929240
je 0x64c05c
cmp dword [eax + 4], 0x929240
jne 0x64c06b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push ebx
push esi
jmp 0x64c0fb
push ebx
push esi
call fcn.00423149
add esp, 8
test eax, eax
je 0x64c11a
mov eax, dword [eax + 4]
cmp eax, 0x929a88
je 0x64c094
cmp dword [eax + 4], 0x929a88
jne 0x64c11a
mov edi, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
push esi
push edi
call fcn.00423149
add esp, 8
test eax, eax
je 0x64c0bb
mov eax, dword [eax + 4]
cmp eax, 0x929080
je 0x64c0f1
cmp dword [eax + 4], 0x929080
je 0x64c0f1
push esi
push edi
call fcn.00423149
add esp, 8
test eax, eax
je 0x64c0dc
mov eax, dword [eax + 4]
cmp eax, 0x9291d0
je 0x64c0f1
cmp dword [eax + 4], 0x9291d0
je 0x64c0f1
push esi
push edi
call fcn.00423149
add esp, 8
cmp eax, 0x9292b0
jne 0x64c20f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push esi
push edi
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
push ecx
push esi
call fcn.006543b0
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x28]
shr eax, 0x1f
test al, al
jne 0x64c20f
mov ebx, dword [ebp + 0x10]
cmp esi, ebx
jne 0x64c13c
mov eax, dword [ebp + 0x14]
cmp dword [esp + 0x20], eax
je 0x64c1f4
mov eax, dword [ebp + 0x14]
push eax
push ebx
mov dword [esp + 0x2c], eax
call fcn.00423149
add esp, 8
cmp eax, 0x929b68
jne 0x64c161
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + eax*8 + 8]
mov eax, dword [ebx + eax*8 + 0xc]
jmp 0x64c167
mov eax, dword [esp + 0x24]
mov ecx, ebx
cmp ecx, 1
jne 0x64c178
cmp eax, 0x20000
jne 0x64c178
mov ecx, 2
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov edx, dword [ecx + 0x28]
mov eax, edx
mov edi, dword [ecx + 0x2c]
or eax, edi
je 0x64c1f4
push dword [esp + 0x20]
mov eax, dword [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
mov edx, 1
call fcn.00638d60
add esp, 0x28
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x44]
test eax, eax
je 0x64c1d5
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x64c1d5
add ecx, 2
lea ecx, [eax + ecx*4]
jmp 0x64c1da
mov ecx, 0x94dbc8
push dword [ebp + 0x14]
mov dl, byte [esp + 0x17]
push dword [ebp + 0x10]
mov ecx, dword [ecx]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0064c7f0
add esp, 0x10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
push dword [ebp + 8]
push 0x12
push esi
call fcn.0069c760
push dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
push dword [ebp + 8]
push 0x11
push esi
call fcn.0069c760
int3