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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x647977
sub esp, 0x60
mov eax, dword [esp + 0x70]
test eax, eax
jl 0x6475cc
mov ecx, dword [esp + 0x6c]
mov edx, ecx
sar ecx, 0x1f
cmp eax, ecx
je 0x647608
mov eax, dword [0x9328d8]
mov ecx, dword [0x9328dc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
test eax, eax
sete cl
cmp edx, 0xa00000
setb bl
and ebx, ecx
test bl, bl
je 0x647754
mov byte [esp + 0x27], cl
lea ecx, [0x6a71a0]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0044d400
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x647720
mov ecx, dword [esp + 0x20]
cmp dword [0x9328d0], eax
je 0x647699
mov edx, 1
jmp 0x6476c9
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ecx
mov edx, dword [0x9328d4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404850
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x30]
test dl, dl
jne 0x6476f0
mov edx, dword [esp + 0x70]
test edx, edx
seta dl
mov ebx, dword [esp + 0x6c]
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
movzx esi, byte [esp + 0x27]
and ebp, esi
or edx, ebp
test dl, dl
je 0x647724
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
lea eax, [0x6a71a0]
mov dword [esp], eax
mov dword [esp + 4], 0xa00000
mov dword [esp + 8], 0xa00000
call fcn.0046c600
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x58], eax
jmp 0x6477fa
mov dword [esp + 0x58], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00472150
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
sub edi, ebx
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x48]
sbb esi, ebp
mov eax, dword [esp + 0x4c]
add ebx, eax
mov eax, dword [esp + 0x50]
adc ebp, eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov ecx, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
test esi, esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta bl
test edi, edi
seta al
and eax, ebp
or eax, ebx
test al, al
je 0x647924
cmp edi, 0xa00000
seta al
and eax, ebp
or eax, ebx
test al, al
je 0x647839
xor eax, eax
mov ebx, 0xa00000
jmp 0x64783d
mov eax, esi
mov ebx, edi
test eax, eax
jne 0x647968
cmp ebx, 0xa00000
ja 0x64795c
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov eax, dword [edx + 0xc]
mov dword [esp], ecx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xa00000
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], edi
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x6478f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x6478b1
mov ebp, dword [esp + 0x58]
jmp 0x6477aa
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [0x6a71a0]
mov dword [esp + 0x10], ecx
call fcn.0046c6b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
jmp 0x6477aa
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x60
ret
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
mov ecx, ebx
mov edx, 0xa00000
call fcn.00471890
mov esi, eax
mov ecx, ebx
mov edx, 0xa00000
call fcn.00471980
nop
call fcn.004703c0
jmp fcn.006475a0