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

Disassembly:
mov ecx, dword [0x5915c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47384e
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov eax, 1
mov byte [esp + 0x27], al
mov eax, 1
mov byte [esp + 0x26], al
mov eax, dword [esp + 0x40]
jmp 0x4734c9
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, ecx
mov ebp, dword [esp + 0x4c]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x58], esi
sub esi, edi
cmp esi, 0xc
jle 0x473828
test ebp, ebp
je 0x473801
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], edi
movzx esi, byte [esp + 0x27]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x473535
mov dword [esp + 0x50], ebp
mov ebp, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
call fcn.004740e0
mov eax, dword [esp + 0x50]
lea ebp, [eax - 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x4c], ebp
mov esi, dword [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call fcn.00473d60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, 2
je 0x47357e
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebx, dword [esp + 0x58]
mov ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x54]
jmp 0x4735da
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], esi
call fcn.00473d20
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov edx, dword [esp + 0x58]
mov ebx, edx
sub edx, eax
lea eax, [edx - 1]
movzx edx, byte [esp + 0x27]
test dl, dl
mov ebp, 1
mov dword [esp + 0x48], eax
je 0x473644
movzx esi, byte [esp + 0x26]
xchg esi, eax
test al, al
xchg esi, eax
je 0x473649
cmp ebp, 1
jne 0x473649
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.00473b40
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4737fd
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
jmp 0x473649
movzx esi, byte [esp + 0x26]
test ecx, ecx
jg 0x473651
xor ebp, ebp
jmp 0x473694
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x18]
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + ecx*4 - 4]
mov edi, dword [ebp + eax*4]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.00473340
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x54]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x58]
movzx esi, byte [esp + 0x26]
mov ebp, eax
mov eax, dword [esp + 0x48]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4736e6
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x1c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.00473a40
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x58]
movzx eax, byte [esp + 0x27]
movzx edx, byte [esp + 0x26]
jmp 0x47349f
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 0x20]
mov dword [esp], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.00473860
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x54]
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x58]
mov ebp, ebx
sub ebx, edx
movzx esi, byte [esp + 0x20]
xchg esi, eax
mov byte [esp + 0x26], al
xchg esi, eax
mov edi, dword [esp + 0x34]
sar edi, 3
mov dword [esp + 0x3c], edi
cmp ebx, eax
jle 0x4737a0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0x24]
mov dword [esp], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
call fcn.00473450
mov eax, dword [esp + 0x30]
lea edi, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
setle al
mov ecx, dword [esp + 0x58]
jmp 0x4737f3
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xc], esi
lea edi, [edx + 1]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x18], ebp
call fcn.00473450
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
setle al
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
movzx edx, byte [esp + 0x26]
jmp 0x47349f
add esp, 0x5c
ret
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004741b0
add esp, 0x5c
ret
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.004743a0
add esp, 0x5c
ret
call fcn.0046c370
jmp fcn.00473450