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

Disassembly:
sub esp, 0x18
mov eax, dword [ecx + 0x3c]
push ebx
mov ebx, dword [edx + 4]
sub ebx, dword [edx]
mov ecx, dword [eax + 0x110]
push ebp
push esi
sar ebx, 2
or esi, 0xffffffff
xor ebp, ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
push edi
test ebx, ebx
jle 0x64df93
cmp byte [esp + 0x34], 0
je 0x64de35
mov eax, dword [edx]
mov edi, dword [eax + ebp*4]
mov eax, ebp
cmp dword [esp + 0x2c], edi
mov ecx, edi
cmovne eax, esi
mov esi, eax
mov eax, dword [edi]
call dword [eax + 8]
mov edx, dword [edi]
dec eax
mov ecx, edi
mov dword [esp + 0x24], eax
call dword [edx + 0xc]
mov edx, dword [edi]
dec eax
mov ecx, edi
mov dword [esp + 0x20], eax
call dword [edx + 0x18]
mov edx, dword [edi]
add eax, 2
mov ecx, edi
mov dword [esp + 0x1c], eax
call dword [edx + 0x1c]
add eax, 2
cmp byte [edi + 0x78], 0
mov dword [esp + 0x18], eax
je 0x64de26
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xfffffffb
mov byte [edi + 0x78], 0
mov dword [edi + 0x54], eax
cmp ecx, eax
je 0x64ddfc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe4]
mov ecx, dword [esp + 0x14]
push 0
push 0x10a
push dword [esp + 0x20]
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x38]
call dword [eax + 0x2c]
mov edx, dword [esp + 0x10]
inc ebp
cmp ebp, ebx
jl 0x64dd98
jmp 0x64dead
xor edi, edi
mov eax, dword [edx]
mov ebp, dword [eax + edi*4]
mov eax, edi
cmp dword [esp + 0x2c], ebp
mov ecx, ebp
cmovne eax, esi
mov esi, eax
mov eax, dword [ebp]
call dword [eax + 8]
mov edx, dword [ebp]
dec eax
mov ecx, ebp
mov dword [esp + 0x1c], eax
call dword [edx + 0xc]
mov edx, dword [ebp]
dec eax
mov ecx, ebp
mov dword [esp + 0x20], eax
call dword [edx + 0x18]
mov edx, dword [ebp]
add eax, 2
mov ecx, ebp
mov dword [esp + 0x24], eax
call dword [edx + 0x1c]
cmp byte [ebp + 0x78], 0
lea ecx, [eax + 2]
je 0x64dea4
mov eax, dword [esp + 0x14]
push 0
push 0x10a
push ecx
push dword [esp + 0x30]
mov byte [ebp + 0x78], 0
mov ecx, eax
push dword [esp + 0x30]
mov edx, dword [eax]
push dword [esp + 0x30]
call dword [edx + 0x2c]
mov edx, dword [esp + 0x10]
inc edi
cmp edi, ebx
jl 0x64de37
cmp esi, 0xffffffff
je 0x64df93
mov edx, dword [esp + 0x30]
mov ebp, esi
mov edi, dword [esp + 0x10]
cmp edx, 0xffffffff
je 0x64ded6
cmp edx, 1
jne 0x64dede
lea eax, [esi + 1]
xor esi, esi
cmp eax, ebx
cmovl esi, eax
jmp 0x64dede
sub esi, 1
jns 0x64dede
lea esi, [ebx - 1]
lea ecx, [esi*4]
cmp ebp, esi
je 0x64def4
mov eax, dword [edi]
mov eax, dword [eax + ecx]
test byte [eax + 0x54], 1
je 0x64dec0
mov eax, dword [edi]
mov esi, dword [ecx + eax]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
lea edi, [eax - 1]
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
lea ebx, [eax - 1]
call dword [edx + 0x18]
mov edx, dword [esi]
mov ecx, esi
lea ebp, [eax + 2]
call dword [edx + 0x1c]
add eax, 2
cmp byte [esp + 0x34], 0
mov dword [esp + 0x24], eax
je 0x64df58
cmp byte [esi + 0x78], 0
jne 0x64df72
mov ecx, dword [esi + 0x54]
mov eax, ecx
or eax, 4
mov byte [esi + 0x78], 1
mov dword [esi + 0x54], eax
cmp ecx, eax
je 0x64df4c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe0]
jmp 0x64df72
mov ecx, dword [esi + 0x54]
mov eax, ecx
or eax, 4
mov byte [esi + 0x78], 1
mov dword [esi + 0x54], eax
cmp ecx, eax
je 0x64df72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x14]
push 1
push 0x10d
push dword [esp + 0x2c]
mov edx, dword [ecx]
push ebp
push ebx
push edi
call dword [edx + 0x2c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret