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

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push ebx
mov dword [esp + 0x20], 0
call fcn.0047ad50
add esp, 0xc
mov dword [esp + 0x1c], eax
call fcn.00479730
mov byte [esp + 0xf], al
mov al, byte [ebx + 0x13]
mov ecx, 1
add dword [ebx + 0x70], ecx
test al, al
jne 0x47b06a
add dword [ebx + 0x4c], ecx
mov ebp, dword [ebx + 0x4c]
mov dword [esp + 0x10], ebp
jmp 0x47b07c
sub al, 1
movzx ecx, al
mov byte [ebx + 0x13], al
mov edx, dword [ebx + ecx*4 + 0x1c]
mov dword [esp + 0x10], edx
mov ebp, edx
mov eax, dword [esi + 0xc]
push ebp
push eax
push ebx
call fcn.004792f0
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, dword [esp + 0x24]
jne 0x47b0a3
push eax
push ebp
push 0x4c
push edi
call fcn.00457ef0
add esp, 0x10
jmp 0x47b0de
push ebp
push 0x4d
push edi
call fcn.00457e90
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x1c]
push ecx
push edx
push 0x67
push edi
mov dword [esp + 0x34], eax
call fcn.00457ef0
mov eax, dword [esp + 0x44]
push eax
push 0
push 0x10
push edi
call fcn.00457ef0
mov ecx, dword [esp + 0x44]
push ecx
push edi
call fcn.00458250
add esp, 0x34
cmp dword [esp + 0x1c], 1
jne 0x47b10d
mov edx, dword [esp + 0x24]
push edx
push ebp
push 0x23
push edi
call fcn.00457ef0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x1c]
push ebp
push eax
push ecx
push 0x41
push edi
call fcn.00457de0
add esp, 0x24
jmp 0x47b1f1
push 1
lea edx, [esp + 0x13]
push edx
push 0
push 1
push ebp
push 0x2c
push edi
call fcn.0045a660
mov ebp, dword [esp + 0x30]
add esp, 0x1c
test ebp, ebp
je 0x47b1d2
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
je 0x47b1d2
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1c]
push 1
push ecx
push 0
push edx
push 0x40
push edi
call fcn.0045a7a0
push ebp
push 0x4d
push edi
mov dword [esp + 0x3c], eax
call fcn.00457e90
push 1
push ebp
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1c]
push 0
push eax
push 0x40
push edi
call fcn.0045a7a0
push ebp
push 0xffffffffffffffff
push 0x17
push edi
mov esi, eax
call fcn.00457ef0
add esp, 0x4c
push esi
push edi
call fcn.00458250
push 1
push ebp
push 0x22
push edi
call fcn.00457ef0
mov ecx, dword [esp + 0x34]
push ecx
push edi
call fcn.00458250
mov edx, dword [esp + 0x48]
push edx
push ebp
push 0x29
push edi
call fcn.00457ef0
mov eax, dword [esp + 0x54]
push eax
push 0
push 0x10
push edi
call fcn.00457ef0
mov ecx, dword [esp + 0x58]
add esp, 0x40
push ecx
push edi
call fcn.00458250
add esp, 8
jmp 0x47b1ed
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x1c]
push 1
push edx
push eax
push ecx
push 0x3f
push edi
call fcn.0045a7a0
add esp, 0x18
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x47b21d
mov dl, byte [ebx + 0x13]
cmp dl, 8
jae 0x47b21d
xor eax, eax
lea ecx, [ebx + 0x78]
cmp dword [ecx + 0x10], ebp
je 0x47b22f
add eax, 1
add ecx, 0x18
cmp eax, 0xa
jl 0x47b202
movzx edx, dl
mov dword [ebx + edx*4 + 0x1c], ebp
add byte [ebx + 0x13], 1
push 1
push ebx
call fcn.00478fa0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x14
ret
push 1
push ebx
mov byte [ecx + 8], 1
call fcn.00478fa0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x14
ret