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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47bcca
sub esp, 0x50
mov eax, dword [esp + 0x5c]
test eax, 0x200
jne 0x47bbdd
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0046fd60
movzx eax, byte [esp + 8]
test al, al
je 0x47ba63
nop
mov eax, dword [esp + 0x38]
test eax, 0x60
je 0x47ba5f
mov ecx, 0x20
nop
mov edx, dword [esp + 0x68]
movzx ebx, byte [edx + 0xf]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x74], edx
and eax, 0x180
or ecx, eax
and ebx, 0x1f
or ebx, ecx
mov dword [esp + 0x78], ebx
add esp, 0x50
ret
xor ecx, ecx
jmp 0x47ba36
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.0046f620
movzx eax, byte [esp + 8]
test al, al
je 0x47bc16
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x47bbc8
mov dword [esp + 0x6c], eax
nop
nop
mov ecx, dword [esp + 0x38]
mov edx, ecx
and ecx, 0x1f
cmp ecx, 0x14
jne 0x47bac8
nop
nop
add ecx, 0xffffffee
cmp ecx, 1
ja 0x47bbb5
test edx, 0x200
je 0x47bb90
xor ecx, ecx
test cl, cl
jne 0x47bb74
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.00477ea0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call fcn.0046caa0
mov eax, dword [esp + 4]
test eax, eax
jne 0x47bb4a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x6c]
mov dword [edx], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x47bb3c
mov eax, dword [esp + 0x40]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0x94
add esp, 0x50
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0x40]
call fcn.0044f0d0
jmp 0x47bb24
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
call fcn.00407ec0
mov edx, dword [esp + 0x6c]
jmp 0x47bb24
mov eax, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x14
add esp, 0x50
ret
test edx, 0x80
je 0x47bbad
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx]
test ebx, ebx
setne bl
xor ebx, 1
mov ecx, ebx
jmp 0x47bac0
mov ecx, dword [esp + 0x48]
mov ebx, ecx
jmp 0x47bb9e
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx]
test ebp, ebp
setne cl
xor ecx, 1
jmp 0x47bac0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00409fc0
mov eax, dword [esp + 4]
jmp 0x47ba90
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.0046ba90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x47ba00
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046c790
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call fcn.0046c790
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
lea edx, [0x818766]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x10
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
lea edx, [0x81f329]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.0043dcf0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407990
mov eax, dword [esp + 8]
lea ecx, [0x7abe80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.0044d880
jmp fcn.0047b9d0