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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47b006
sub esp, 0x68
call fcn.00457840
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [esp + 0xc]
test eax, eax
jle 0x47afe4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x64], ebp
xor ebp, ebp
jmp 0x47af8d
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov edx, ebp
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x3c]
cmp ebp, esi
jge 0x47ae5c
mov dword [esp + 0x38], esi
sub esi, ebp
mov dword [esp + 0x44], esi
shr esi, 0x1f
mov edi, dword [esp + 0x44]
add esi, edi
sar esi, 1
lea edi, [esi + ebp]
mov ebp, dword [esp + 0x34]
cmp edi, ebp
jae 0x47aff5
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov eax, dword [ebx + edi*4]
nop
add eax, edx
mov dword [esp], eax
call fcn.00476ad0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
call fcn.00402850
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x47ae47
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x47ada4
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x47ada4
mov esi, dword [esp + 0x34]
jmp 0x47ae91
mov ecx, dword [esp + 0x3c]
inc ecx
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov edx, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov edi, ebp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x58]
mov ebp, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], edi
cmp ebp, esi
jge 0x47af59
jae 0x47afec
mov dword [esp + 0x3c], ebp
mov eax, dword [ebx + ebp*4]
nop
add eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
call fcn.00476ad0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
cmp dword [esp + 8], ecx
jne 0x47af59
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00402950
movzx eax, byte [esp + 0xc]
test al, al
je 0x47af59
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
ja 0x47af22
mov eax, dword [esp + 0x64]
mov esi, dword [0x8326a0]
lea edi, [eax + edx*4]
test esi, esi
jne 0x47af10
mov esi, dword [esp + 0x5c]
mov dword [eax + edx*4], esi
jmp 0x47ae62
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0045ace0
mov eax, ecx
jmp 0x47ae62
lea eax, [0x66a780]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x24]
jmp 0x47aef7
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jle 0x47afc8
mov eax, dword [esp + 0x60]
add eax, 0xc
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
mov ebp, edx
mov ebx, eax
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], esi
mov esi, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ecx, ebp
jbe 0x47affe
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], edi
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
jmp 0x47adc8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x47afd4
mov eax, ebp
mov ecx, esi
call fcn.0045ad60
mov eax, edi
mov ecx, ebp
call fcn.0045ad60
mov eax, ebp
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.0047ad50