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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x68], eax
xor edi, edi
nop
mov dword [esp], 8
call fcn.00509664
mov dword [ebx + edi*4 + 0xb8], eax
test eax, eax
je 0x474834
inc edi
cmp edi, 0x10
jne 0x47462c
mov dword [esp], ebx
call fcn.00472bf4
test al, al
je 0x47466b
mov eax, dword [ebx + 0xf4]
mov dword [eax], 0x18
mov edx, dword [ebx + 0x14]
mov dword [eax + 4], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00472b38
mov dl, al
test al, al
jne 0x474688
mov al, dl
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00472b38
mov dl, al
test al, al
je 0x47467d
mov dword [ebx], esi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov dword [esp], ebx
call fcn.00472c78
mov dl, al
test al, al
je 0x47467d
mov dword [esp], ebx
call fcn.00472d14
mov dl, al
test al, al
je 0x47467d
movzx eax, byte [ebp - 0x1d]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00473324
mov dl, al
test al, al
je 0x47467d
mov eax, dword [ebx + 0xb8]
mov dword [eax], 4
lea ecx, [ebx + 0x64]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebx + 0x64]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x20]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0x6c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x58]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc4]
mov dword [eax], 0x20000
mov ecx, dword [ebx + 0x50]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc8]
mov dword [eax], 0x20000
mov ecx, dword [ebx + 0x54]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0x78]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x40]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x38]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xd4]
mov ecx, dword [ebx + 0x80]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xd8]
mov ecx, dword [ebx + 0x84]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x30]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0x88]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xe0]
mov dword [eax], 0x18000
mov ecx, dword [ebx + 0x44]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xe4]
mov dword [eax], 0x18000
mov ecx, dword [ebx + 0x48]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xe8]
mov dword [eax], 0x18000
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 4], ecx
cmp byte [ebp - 0x1d], 0
je 0x4747fa
mov dword [ebp - 0x1c], 2
xor eax, eax
mov esi, ebx
mov bl, dl
mov edx, dword [ebp - 0x1c]
mov ecx, dword [esi + edx*4 + 0xb8]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4747ed
mov ecx, dword [ecx]
mov edi, edx
rep stosb byte es:[edi], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xd
jne 0x4747d6
mov dl, bl
mov ebx, esi
mov eax, dword [ebx + 0xec]
mov ecx, dword [ebx + 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xf0]
mov ecx, dword [ebx + 0x60]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xf4]
mov ecx, dword [ebx + 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 4], ecx
jmp 0x47467d
xor edx, edx
mov al, dl
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret