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

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x114]
push ebx
push ebp
mov ebp, dword [esp + 0x120]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x120]
lea esi, [ecx + 4]
add ebp, ecx
mov dword [esp + 0x20], 0x1c
cmp dword [edi + 0x80], ebx
je 0x47be1a
mov eax, ebx
jmp 0x47be21
push esi
call fcn.0048d9d4
pop ecx
mov dword [edi + 0x2c], eax
add esi, 4
mov eax, ebp
sub eax, esi
push eax
push esi
push 0xff
push dword [edi + 0x1a4]
call fcn.004d3ae0
push eax
mov dword [esp + 0x24], eax
call fcn.00489ee4
add esp, 0x14
test eax, eax
jne 0x47c0d6
add esi, dword [esp + 0x10]
mov eax, ebp
sub eax, esi
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00477c84
push eax
mov dword [esp + 0x28], eax
call fcn.0048e370
add esp, 0x18
test eax, eax
jne 0x47c0d6
cmp dword [esp + 0x24], 8
ja 0x47c0d6
mov ecx, dword [edi + 0x1a4]
push 0x1800
lea eax, [ecx + 0x11bc]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x38]
push dword [esp + 0x2c]
push eax
lea eax, [ecx + 0x400]
push eax
call fcn.0048b11c
add esp, 0x18
cmp eax, 0xffffff88
ja 0x47c0d6
add esi, dword [esp + 0x10]
mov eax, ebp
sub eax, esi
mov dword [esp + 0x18], 0x34
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00477c84
push eax
mov dword [esp + 0x28], eax
call fcn.0048e370
add esp, 0x18
test eax, eax
jne 0x47c0d6
cmp dword [esp + 0x28], 9
ja 0x47c0d6
cmp dword [esp + 0x18], 0x34
jb 0x47c0d6
mov eax, ebx
cmp word [esp + eax*2 + 0xb0], bx
je 0x47c0d6
inc eax
cmp eax, 0x34
jbe 0x47bf1d
mov ecx, dword [edi + 0x1a4]
push 0x1800
lea eax, [ecx + 0x11bc]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0xbc]
push dword [esp + 0x24]
push eax
lea eax, [ecx + 0x6ec]
push eax
call fcn.0048b11c
add esp, 0x18
cmp eax, 0xffffff88
ja 0x47c0d6
add esi, dword [esp + 0x10]
mov eax, ebp
sub eax, esi
mov dword [esp + 0x1c], 0x23
push eax
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00477c84
push eax
mov dword [esp + 0x2c], eax
call fcn.0048e370
add esp, 0x18
test eax, eax
jne 0x47c0d6
cmp dword [esp + 0x10], 9
ja 0x47c0d6
cmp dword [esp + 0x1c], 0x23
jb 0x47c0d6
mov eax, ebx
cmp word [esp + eax*2 + 0x68], bx
je 0x47c0d6
inc eax
cmp eax, 0x23
jbe 0x47bfbe
mov ecx, dword [edi + 0x1a4]
push 0x1800
lea eax, [ecx + 0x11bc]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x74]
push dword [esp + 0x28]
push eax
lea eax, [ecx + 0xc98]
push eax
call fcn.0048b11c
add esp, 0x18
cmp eax, 0xffffff88
ja 0x47c0d6
add esi, dword [esp + 0x14]
lea eax, [esi + 0xc]
mov dword [esp + 0x14], eax
cmp eax, ebp
ja 0x47c0d6
push esi
call fcn.0048d9d4
mov dword [edi + 0x12c], eax
lea eax, [esi + 4]
push eax
call fcn.0048d9d4
mov dword [edi + 0x130], eax
lea eax, [esi + 8]
push eax
call fcn.0048d9d4
mov esi, dword [esp + 0x20]
add esp, 0xc
sub ebp, esi
mov dword [edi + 0x134], eax
push 0x1c
pop ecx
mov eax, ecx
cmp ebp, 0xfffdffff
ja 0x47c062
lea eax, [ebp + 0x20000]
bsr eax, eax
cmp eax, ecx
cmovb ecx, eax
lea eax, [esp + 0x2c]
push ecx
push dword [esp + 0x24]
push eax
call fcn.0048414c
add esp, 0xc
cmp eax, 0xffffff88
ja 0x47c0d9
lea eax, [edi + 0x12c]
cmp dword [eax], 0
je 0x47c0d6
cmp dword [eax], ebp
ja 0x47c0d6
inc ebx
add eax, 4
cmp ebx, 3
jb 0x47c084
mov eax, dword [edi + 0x1a4]
push 2
pop ecx
push ebp
mov dword [eax + 0x29bc], ecx
mov eax, dword [edi + 0x1a4]
push esi
push edi
mov dword [eax + 0x29c0], ecx
mov eax, dword [edi + 0x1a4]
mov dword [eax + 0x29c4], ecx
mov eax, dword [edi + 0x1a4]
mov dword [eax + 0x29c8], ecx
call fcn.00484174
add esp, 0xc
jmp 0x47c0d9
push 0xffffffffffffffe2
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret