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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47b3c1
sub esp, 0x5c
call fcn.0047d610
mov eax, dword [esp]
mov dword [esp + 0x38], eax
mov byte [eax + 0x80], 1
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], edx
call fcn.00483040
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004428f0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
mov ebx, dword [eax + 0x8c]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], esi
test ecx, ecx
je 0x47b182
cmp ecx, 1
je 0x47b0a4
movzx edi, byte [eax + 0x7c]
xchg edi, eax
test al, al
xchg edi, eax
je 0x47b079
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00408c00
mov eax, dword [esp + 0xc]
lea ecx, [0x51e7c4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004645f0
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov edx, dword [eax + 0x84]
mov dword [esp + 0x58], edx
mov ebx, dword [eax + 0x88]
mov dword [esp + 0x34], ebx
xor ecx, ecx
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
jmp 0x47b217
lea eax, [0x4eb220]
mov dword [esp], eax
call fcn.0040ae80
mov edi, dword [esp + 4]
mov dword [edi + 8], 0
mov eax, dword [0x5af9b0]
lea ecx, [edi + 0xc]
test eax, eax
jne 0x47b0d3
mov dword [edi + 0xc], 0
jmp 0x47b0e0
xor eax, eax
mov edx, edi
mov edi, ecx
call fcn.00452b40
mov edi, edx
mov edx, dword [esp + 0x28]
mov dword [edi + 4], edx
mov edx, dword [0x5af9b0]
test edx, edx
jne 0x47b0f9
mov edx, dword [esp + 0x44]
mov dword [edi], edx
jmp 0x47b102
mov eax, dword [esp + 0x44]
call fcn.00452b40
mov edx, dword [esp + 0x38]
mov ebx, dword [edx + 0x88]
mov ebp, dword [edx + 0x84]
test ebx, ebx
jbe 0x47b1ed
mov eax, dword [ebp]
mov ebx, dword [esp + 0x6c]
cmp ebx, eax
jbe 0x47b1e6
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x68]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea edx, [0x4e8ee0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408e10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [0x5af9b0]
test ecx, ecx
jne 0x47b171
mov dword [edx + 0xc], eax
jmp 0x47b17a
mov edi, dword [esp + 0x54]
call fcn.00452b40
lea eax, [0x51e3d8]
jmp 0x47b1be
lea eax, [0x4e9540]
mov dword [esp], eax
call fcn.0040ae80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x5af9b0]
test eax, eax
jne 0x47b1ad
mov eax, dword [esp + 0x44]
mov dword [edi], eax
jmp 0x47b1b6
mov eax, dword [esp + 0x44]
call fcn.00452b40
lea eax, [0x51e388]
mov edx, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
call fcn.0047d6b0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
add esp, 0x5c
ret
mov ecx, ebx
call fcn.00452bc0
xor eax, eax
mov ecx, eax
call fcn.00452bc0
inc ecx
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], edi
cmp ecx, ebx
jge 0x47b33a
mov ebp, dword [edx + ecx*4]
test ecx, ecx
jle 0x47b25f
mov esi, dword [eax + 0x88]
mov edx, dword [eax + 0x84]
lea ebx, [ecx - 1]
cmp esi, ebx
jbe 0x47b3b7
lea edx, [edx + ecx*4 - 4]
cmp dword [edx], ebp
jne 0x47b253
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
jmp 0x47b1f6
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov esi, dword [esp + 0x6c]
cmp esi, ebp
jbe 0x47b3ae
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x68]
lea ecx, [eax + ebp*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea ebx, [0x4e8ee0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00408e10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x47b31d
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x47b2b4
mov eax, dword [esp + 0x4c]
jmp 0x47b2f8
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4e8ee0]
mov dword [esp + 0x10], eax
call fcn.0043fa70
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov ebp, edi
lea esi, [eax + ebx*8 - 8]
mov dword [esi], edx
lea edi, [eax + ebx*8 - 4]
mov edx, dword [0x5af9b0]
test edx, edx
jne 0x47b310
mov dword [edi], ecx
jmp 0x47b329
mov edx, eax
mov eax, ecx
call fcn.00452b40
mov eax, edx
jmp 0x47b329
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edi, ebp
mov edx, eax
mov eax, dword [esp + 0x38]
jmp 0x47b1f6
lea eax, [0x4eb1c0]
mov dword [esp], eax
call fcn.0040ae80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x5af9b0]
test eax, eax
jne 0x47b365
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
jmp 0x47b36e
mov eax, dword [esp + 0x44]
call fcn.00452b40
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x5af9b0]
test ecx, ecx
jne 0x47b38f
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], eax
jmp 0x47b3a1
lea ecx, [edi + 8]
mov eax, dword [esp + 0x4c]
mov edx, edi
mov edi, ecx
call fcn.00452b40
mov edi, edx
lea eax, [0x51e3c4]
mov edx, edi
jmp 0x47b1be
mov eax, ebp
mov ecx, esi
call fcn.00452bc0
mov eax, ebx
mov ecx, esi
call fcn.00452bc0
nop
call fcn.00451710
jmp fcn.0047af90