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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x641509
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
test byte [ecx], al
lea edx, [ecx + 0x30]
mov dword [esp + 0x40], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 4]
mov dword [esp + 0x30], ebp
mov dword [esp], edx
call fcn.00489310
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x641520]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
jmp 0x6412d6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x38]
mov dword [esp], ecx
call fcn.00487ef0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
movzx ebp, byte [eax + 0x4e]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6414ba
mov ebp, dword [ecx + 0xc4]
test ebp, ebp
jne 0x64148d
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x3c], eax
mov ebp, dword [ebx + 0x14]
mov dword [esp], edx
call ebp
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0x44]
mov ebx, eax
xor eax, eax
call fcn.0046cb2a
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], edx
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 0
call fcn.0044d240
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x6413f5
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x98]
mov ebx, dword [eax + 0x94]
test ecx, ecx
je 0x641380
mov ebp, dword [ecx]
cmp ebp, ebx
jl 0x641382
mov ebp, ebx
test ebp, ebp
jle 0x6412b7
mov esi, dword [esp + 0x70]
cmp esi, ebp
jl 0x641394
mov esi, ebp
mov ebp, dword [esp + 0x34]
mov ebp, dword [ebp + 0xa0]
cmp esi, ebp
jle 0x6413a6
test ecx, ecx
jmp 0x6413aa
test ecx, ecx
mov ebp, esi
je 0x6413b2
mov ecx, dword [ecx]
cmp ecx, ebx
jl 0x6413b4
mov ecx, ebx
cmp ecx, ebp
jl 0x6414e7
sub ebx, ebp
mov dword [eax + 0x94], ebx
mov eax, dword [eax + 0x98]
test eax, eax
je 0x6413d0
sub dword [eax], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
je 0x641460
cmp eax, 1
jne 0x641435
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [0x9647c8]
mov ecx, dword [0x9647cc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [0x9647d0]
mov ecx, dword [0x9647d4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [0x9647b0]
mov ecx, dword [0x9647b4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
lea eax, [0x6929c0]
mov dword [esp], eax
lea eax, [0x7486c0]
mov dword [esp + 4], eax
call fcn.00439660
nop
call fcn.00439380
add esp, 0x68
ret
call fcn.0046b490
jmp fcn.00641210