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

Disassembly:
sub esp, 0xd4
mov eax, 1
push ebp
xor ebp, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov eax, dword [0x84c2b0]
push esi
mov esi, dword [esp + 0xe0]
add eax, 0x6970
push ebp
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], 5
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 6
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], 9
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], 0xa
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0xb
mov dword [esp + 0x90], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], 0xd
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], 0xc
mov dword [esi + 0x57a0], 0x17
call fcn.005282d0
add esp, 8
lea ecx, [esi + 0x1cc0]
add esi, 0x53c0
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
push edi
xor esi, esi
cmp esi, 5
jne 0x47b99f
mov eax, 4
jmp 0x47b9ad
mov eax, esi
sub eax, 0xc
neg eax
sbb eax, eax
and al, 0xf9
add eax, 8
mov edx, dword [esp + 0x10]
lea edi, [edx + esi]
lea edi, [edi + edi*4]
shl edi, 5
add edi, dword [esp + 0xe8]
mov ebx, eax
push 1
push 9
push edi
call fcn.004b7a50
mov ax, word [esi*4 + 0x64f9a8]
mov cx, word [esp + esi*8 + 0x3c]
push 1
mov edx, dword [esi*4 + 0x64f9a8]
push 1
push 0x1c0
push 0x80
push 1
push 2
push 0x20
push eax
mov eax, dword [esp + esi*8 + 0x58]
shl cx, 5
push ecx
mov ecx, dword [esp + eax*8 + 0x50]
push ebp
push 0x20
push edx
mov edx, dword [esp + eax*8 + 0x58]
push 0xffc6
push 0x1c0
push 0x280
push ecx
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004b8250
add esp, 0x54
add esi, 1
add edi, 0xa0
sub ebx, 1
jne 0x47b9c3
cmp esi, 0x17
jl 0x47b993
mov ebx, dword [esp + 0x18]
push 1
push 9
push ebx
call fcn.004b7a50
lea ecx, [ebx + 0x10]
push ecx
call fcn.00523770
mov esi, dword [esp + 0x24]
add esp, 0x10
mov edi, 0xb
push 1
push 0x27
push esi
call fcn.004b7a50
lea edx, [esi + 0x10]
push edx
call fcn.00523510
add esp, 0x10
add esi, 0x500
sub edi, 1
jne 0x47ba62
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x280
add eax, 0x17
add ebx, 0xa0
cmp eax, 0x2e
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jl 0x47b991
mov esi, dword [esp + 0xe8]
pop edi
add esi, 0x5500
pop ebx
jmp 0x47bac0
lea eax, [ebp + 2]
push esi
call fcn.0047af10
add ebp, 1
add esp, 4
add esi, 0x150
cmp ebp, 2
jl 0x47bac0
pop esi
pop ebp
add esp, 0xd4
ret