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

Disassembly:
mov ecx, dword [0x62920c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47631d
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov dword [esp], eax
movzx eax, byte [esp + 0x7c]
mov byte [esp + 4], al
call fcn.00475e40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x50], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ebp, [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00473480
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
xor edx, edx
jmp 0x476175
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], edx
lea eax, [edx + edi]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0046a180
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
add eax, 0xc
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x476207
mov ebx, dword [esp + 0x64]
mov ebp, dword [eax + 4]
mov esi, dword [eax]
nop
test ebx, ebx
je 0x476198
lea edi, [esp + 0x64]
cmp ebx, edi
je 0x4761a0
jmp 0x476304
lea ebx, [esp + 0x64]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
lea ecx, [ebp + edi]
mov edx, dword [esp + 0x68]
cmp ebx, ecx
jae 0x47612c
mov dword [esp + 0x48], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x4f2420]
mov dword [esp + 0x10], eax
call fcn.0044e2a0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
jmp 0x47612c
mov eax, dword [esp + 0x64]
nop
nop
test eax, eax
je 0x47621e
lea ecx, [esp + 0x64]
cmp eax, ecx
je 0x476226
jmp 0x4762ec
lea eax, [esp + 0x64]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x68]
cmp eax, ebx
jae 0x476273
mov dword [esp + 0x40], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x4f2420]
mov dword [esp + 0x10], eax
call fcn.0044e2a0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], ebp
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0046a180
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov edx, ecx
neg ecx
nop
cmp eax, ecx
ja 0x4762de
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
test edx, edx
je 0x4762e7
call fcn.00461b00
call fcn.00461b40
lea eax, [0x4f20e0]
mov dword [esp], eax
lea eax, [0x5372bc]
mov dword [esp + 4], eax
call fcn.004387d0
lea eax, [0x4f20e0]
mov dword [esp], eax
lea eax, [0x5372bc]
mov dword [esp + 4], eax
call fcn.004387d0
nop
call fcn.00468500
jmp fcn.00476090