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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x640be2
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x6409f0
mov edx, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [ecx + ecx*2]
lea ebp, [edx + ecx*8]
cmp byte [ebp], 3
jne 0x6409e4
lea ecx, [edx + ecx*8 + 8]
mov ecx, dword [ecx]
test cl, 4
je 0x6409e4
xor ecx, ecx
jmp 0x640a08
mov dword [esp + 0x78], 0
add esp, 0x70
ret
mov dword [esp + 0x78], 0
add esp, 0x70
ret
add edx, 0x18
mov ebp, dword [esp + 0x10]
lea ecx, [ebp + 1]
mov eax, esi
cmp ecx, ebx
jge 0x640a98
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x34]
mov esi, edx
call fcn.0045fc44
mov ecx, dword [eax]
mov ebp, dword [esp + 0x38]
lea ebp, [ebp + ebp*2]
lea ebp, [ecx + ebp*8]
movzx ebp, byte [ebp]
mov esi, eax
movzx eax, byte [esp + 0x34]
cmp al, 1
ja 0x640a54
xchg ebp, eax
cmp al, 4
xchg ebp, eax
je 0x640a74
mov eax, dword [esp + 0x3c]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp byte [eax], 4
jne 0x6409fc
jmp 0x640a74
cmp al, 3
jne 0x640a6b
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x6409fc
mov eax, dword [esp + 0x3c]
test al, 8
jne 0x6409fc
jmp 0x640a80
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x6409fc
jmp 0x640a8c
mov dword [esp + 0x78], 0
add esp, 0x70
ret
mov dword [esp + 0x78], 0
add esp, 0x70
ret
mov dword [esp + 0x78], 0
add esp, 0x70
ret
mov dword [esp], eax
call fcn.0063f380
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.0063f6d0
mov eax, dword [esp + 4]
test eax, eax
je 0x640aca
mov dword [esp + 0x14], eax
nop
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ecx
xor ebx, ebx
jmp 0x640ada
mov dword [esp + 0x78], eax
add esp, 0x70
ret
add edx, 0x18
inc ebx
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jge 0x640aca
lea edi, [esp + 0x1c]
mov esi, edx
call fcn.0045fc44
movzx ecx, byte [esp + 0x1c]
cmp cl, 6
ja 0x640b31
cmp cl, 1
jbe 0x640ad2
lea ecx, [ebx + ebx*8]
shl ecx, 2
add ecx, dword [eax]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov ebp, dword [0xa43e50]
test ebp, ebp
jne 0x640b21
mov dword [ecx + 0x18], 0
jmp 0x640ad2
lea edi, [ecx + 0x18]
mov ecx, eax
xor eax, eax
call fcn.0045f670
mov eax, ecx
jmp 0x640ad2
cmp cl, 7
je 0x640ad2
cmp cl, 0xa
ja 0x640ad2
mov ecx, dword [eax]
lea ebp, [ebx + ebx*8]
mov dword [ecx + ebp*4 + 0x1c], 0
mov dword [ecx + ebp*4 + 0x20], 0
lea edi, [ecx + ebp*4 + 0x18]
mov esi, ebx
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x640b6a
mov dword [ecx + ebp*4 + 0x18], 0
jmp 0x640b75
mov ecx, eax
xor eax, eax
call fcn.0045f670
mov eax, ecx
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.0045f767
lea edi, [esp + 0x4c]
mov eax, esi
lea esi, [esp + 0x1c]
call fcn.0045fc44
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
lea edi, [ebx + ebp*4]
mov ebx, dword [0xa43e50]
test ebx, ebx
jne 0x640bad
lea esi, [esp + 0x4c]
call fcn.0045fc26
jmp 0x640bd7
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
lea eax, [0x68f420]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00410400
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x14]
jmp 0x640ad2
call fcn.0045e260
jmp fcn.006409a0