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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4775a3
sub esp, 0x70
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4771a9
lea ecx, [0x60a8c0]
cmp eax, ecx
jne 0x4771af
lea eax, [0x62f548]
mov dword [esp], eax
lea eax, [0x5104a8]
mov dword [esp + 4], eax
call fcn.004637b0
mov eax, dword [esp + 0x74]
jmp 0x4771af
lea eax, [0x607f80]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x477364
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x38]
test edx, edx
je 0x47728a
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x78]
cmp ebx, ecx
setae cl
and ecx, edi
or ecx, esi
test cl, cl
je 0x477292
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x58], ecx
cmp ebp, ecx
xchg esi, ebx
setl bl
xchg esi, ebx
mov edi, dword [eax + 0x30]
mov dword [esp + 0x54], edi
cmp ebx, edi
xchg edi, ebx
setb bl
xchg edi, ebx
cmp ebp, ecx
sete cl
and ecx, edi
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
je 0x477292
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 8]
movzx edx, byte [edx + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], dl
add esp, 0x70
ret
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x64], eax
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
test edx, edx
je 0x4772e3
cmp dword [ecx], ebx
xchg esi, ebx
seta bl
xchg esi, ebx
mov edi, dword [ecx + 4]
cmp ebp, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setl al
and esi, edi
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4772df
mov dword [esp + 0x50], edx
mov eax, edx
xor esi, esi
mov edi, 0x7fffffff
mov eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, edx
jmp 0x4773dd
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.004775b0
mov eax, dword [esp + 4]
shl eax, 4
mov ecx, dword [esp + 0x64]
add eax, dword [ecx + 8]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x477312
mov ecx, dword [esi + 4]
mov esi, dword [esi]
jmp 0x47731c
mov ecx, 0x7fffffff
mov esi, 0xffffffff
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], esi
mov byte [esp + 0x9c], al
add esp, 0x70
ret
lea eax, [0x50392b]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0x80000000
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0x7fffffff
mov dword [esp + 0x94], 0xffffffff
mov byte [esp + 0x9c], 0
add esp, 0x70
ret
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov esi, ebx
mov edi, eax
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x78]
mov edx, ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x40], edx
sub edx, esi
cmp edx, 1
jle 0x477449
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], edx
shr edx, 0x1f
mov eax, dword [esp + 0x4c]
add eax, edx
sar eax, 1
add eax, esi
mov dword [esp + 0x4c], eax
lea edx, [eax + eax*2]
mov eax, dword [ecx + edx*4 + 4]
cmp ebp, eax
xchg esi, ebx
setl bl
xchg esi, ebx
mov edx, dword [ecx + edx*4]
cmp ebx, edx
setb bl
cmp ebp, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x477436
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
jmp 0x4773bf
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x40]
mov eax, edi
mov edx, dword [esp + 0x5c]
jmp 0x4773bf
mov dword [esp + 0x48], edi
lea edx, [esi + esi*2]
lea ebp, [ecx + edx*4 + 8]
movzx ebp, byte [ebp]
shl ebp, 4
mov ebx, dword [esp + 0x6c]
mov edi, dword [ebx + ebp]
mov dword [esp + 0x68], edi
mov edi, dword [ebx + ebp + 4]
mov dword [esp + 0x50], edi
mov edi, dword [ebx + ebp + 8]
mov dword [esp + 0x4c], edi
mov edi, dword [ecx + edx*4]
mov ecx, dword [ecx + edx*4 + 4]
movzx edx, byte [ebx + ebp + 0xc]
dec eax
cmp esi, eax
jne 0x477553
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
test ebx, ebx
je 0x477553
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], ecx
mov byte [esp + 0x3b], dl
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
call fcn.00477660
movzx eax, byte [esp + 0x35]
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x34]
mov byte [esp + 0x3a], dl
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x44], esi
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
test al, al
jne 0x47750e
mov ecx, dword [esp + 0x60]
movzx edx, byte [esp + 0x3b]
mov edi, dword [esp + 0x54]
jmp 0x477553
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], esi
movzx eax, byte [esp + 0x3a]
mov byte [esp + 0x9c], al
add esp, 0x70
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], edi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x94], eax
mov byte [esp + 0x9c], dl
add esp, 0x70
ret
call fcn.0045c000
jmp fcn.00477160