Function at 0x4921f4
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 + 0xa8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x64], eax
xor edi, edi
nop
mov dword [esp], 8
call fcn.005389ac
mov dword [ebx + edi*4 + 0xac], eax
test eax, eax
je 0x492420
inc edi
cmp edi, 0x10
jne 0x49221c
mov dword [esp], ebx
call fcn.00490250
test al, al
je 0x49225b
mov eax, dword [ebx + 0xe8]
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.00491f88
mov dl, al
test al, al
jne 0x492278
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.00491f88
mov dl, al
test al, al
je 0x49226d
mov dword [ebx], esi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov dword [esp], ebx
call fcn.004904b8
mov dl, al
test al, al
je 0x49226d
mov dword [esp], ebx
call fcn.00491d18
mov dl, al
test al, al
je 0x49226d
movzx eax, byte [ebp - 0x1d]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0049054c
mov dl, al
test al, al
je 0x49226d
mov eax, dword [ebx + 0xac]
mov dword [eax], 4
lea ecx, [ebx + 0x60]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0x60]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x20]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xb4]
mov ecx, dword [ebx + 0x68]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x54]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xb8]
mov dword [eax], 0x20000
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xbc]
mov dword [eax], 0x20000
mov ecx, dword [ebx + 0x50]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0x74]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc4]
mov ecx, dword [ebx + 0x78]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x34]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x38]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0x80]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xd0]
mov ecx, dword [ebx + 0x84]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x28]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xd4]
mov dword [eax], 0x18000
mov ecx, dword [ebx + 0x40]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xd8]
mov dword [eax], 0x18000
mov ecx, dword [ebx + 0x44]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xdc]
mov dword [eax], 0x18000
mov ecx, dword [ebx + 0x48]
mov dword [eax + 4], ecx
cmp byte [ebp - 0x1d], 0
je 0x4923e7
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 + 0xac]
mov edx, dword [ecx + 4]
test edx, edx
je 0x4923da
mov ecx, dword [ecx]
mov edi, edx
rep stosb byte es:[edi], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xd
jne 0x4923c3
mov dl, bl
mov ebx, esi
mov eax, dword [ebx + 0xe0]
mov ecx, dword [ebx + 0x58]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xe4]
mov ecx, dword [ebx + 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xe8]
mov ecx, dword [ebx + 0x58]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 4], ecx
jmp 0x49226d
xor edx, edx
mov al, dl
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret