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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8d74
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d7488]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x4d7488]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
cmp dword [ebx + 0x144], 0
je 0x47b071
lea esi, [ebx + 0x128]
mov eax, esi
call fcn.0047be00
lea ecx, [esp + 0xf4]
push ecx
mov edi, eax
call fcn.0046867f
xor edi, edi
mov dword [esp + 0x170], edi
cmp dword [esi + 0x1c], edi
je 0x47ad74
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
push dword [ecx + eax*4]
call fcn.00404dc4
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
ja 0x47ad6c
mov dword [esi + 0x18], edi
dec dword [esi + 0x1c]
jne 0x47ad74
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x134]
mov byte [esp + 0x13], 1
cmp eax, 0x7d8
jne 0x47adb9
lea eax, [esp + 0xf8]
mov ecx, ebx
call fcn.0047ab94
test al, al
jne 0x47b00b
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00404dc4
xor al, al
jmp 0x47b073
cmp eax, 0x1398
jne 0x47addf
push dword [esp + 0x13c]
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xfc]
push edx
call dword [eax + 0x1c]
jmp 0x47b00b
cmp eax, 0x7da
jne 0x47adfd
mov ecx, dword [ebx + 0xc4]
push dword [esp + 0x13c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x47b00b
cmp eax, 0x13a0
jne 0x47ae39
push edi
sub esp, 0x1c
push 7
pop ecx
mov edi, esp
push dword [esp + 0x158]
lea esi, [esp + 0x11c]
push dword [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0xb4]
call fcn.0046b46b
add esp, 0x2c
xor edi, edi
jmp 0x47b00b
cmp eax, 0x7d9
jne 0x47b00b
push 7
pop esi
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x160], esi
call fcn.00403eb1
mov byte [esp + 0x170], 1
push edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
call fcn.00403eb1
mov byte [esp + 0x170], 2
cmp dword [esp + 0x10c], edi
je 0x47af64
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xfc]
call fcn.0042fd0e
mov ecx, eax
call fcn.004034c3
cmp word [eax], 0x5b
jne 0x47af64
mov eax, dword [esp + 0x10c]
add eax, 0xfffffffe
push eax
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00403b40
mov byte [esp + 0x170], 3
mov ecx, dword [ebx + 0xc4]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x20]
push eax
call dword [edx]
mov byte [esp + 0x170], 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xe4]
call fcn.00403dd9
mov byte [esp + 0x170], 3
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00403ecf
mov byte [esp + 0x170], 2
push edi
push esi
lea ecx, [esp + 0x5c]
call fcn.00403ecf
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xd8]
push edx
lea edx, [esp + 0x3c]
push edx
call dword [eax]
mov byte [esp + 0x170], 5
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x150]
call fcn.00403dd9
mov byte [esp + 0x170], 2
push edi
push esi
lea ecx, [esp + 0x40]
jmp 0x47afb9
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xe4]
call fcn.00403dd9
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xf8]
push edx
lea edx, [esp + 0x74]
push edx
call dword [eax]
mov byte [esp + 0x170], 6
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x150]
call fcn.00403dd9
mov byte [esp + 0x170], 2
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.00403ecf
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0x144]
push edx
lea edx, [esp + 0xdc]
push edx
call dword [eax + 0x20]
mov byte [esp + 0x13], al
mov byte [esp + 0x170], 1
push edi
push 1
lea ecx, [esp + 0xe0]
call fcn.00403ecf
mov byte [esp + 0x170], 0
push edi
push 1
lea ecx, [esp + 0x14c]
call fcn.00403ecf
xor eax, eax
cmp byte [esp + 0x13], al
setne al
push eax
push 0x13ad
lea eax, [esp + 0x94]
push eax
call fcn.004656c7
mov byte [esp + 0x170], 7
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov byte [esp + 0x170], 0
lea eax, [esp + 0x8c]
push eax
call fcn.00404dc4
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00404dc4
cmp dword [ebx + 0x144], edi
jne 0x47ad26
mov al, 1
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.0048297b
mov esp, ebp
pop ebp
ret