Function at 0x49c2a8
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 edi, dword [ebp + 0xc]
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x1a], al
mov al, byte [ebp + 0x20]
mov byte [ebp - 0x19], al
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x68], eax
xor esi, esi
mov dword [esp], 8
call fcn.005389ac
mov dword [ebx + esi*4 + 0xb8], eax
test eax, eax
je 0x49c35c
inc esi
cmp esi, 0x10
jne 0x49c2d4
mov dword [esp], ebx
call fcn.00499ec4
test al, al
je 0x49c30f
mov eax, dword [ebx + 0xf4]
mov dword [eax], 0x18
mov edx, dword [ebx + 0x14]
mov dword [eax + 4], edx
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0049c03c
mov dl, al
test al, al
je 0x49c352
mov dword [ebx], edi
cmp byte [ebp - 0x19], 0
jne 0x49c344
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0049c03c
mov dl, al
test al, al
je 0x49c352
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov dword [esp], ebx
call fcn.0049a39c
mov dl, al
test al, al
jne 0x49c368
mov al, dl
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
xor edx, edx
mov al, dl
add esp, 0x2c
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], ebx
call fcn.0049a12c
mov dl, al
test al, al
je 0x49c352
cmp byte [ebp - 0x19], 0
je 0x49c4d7
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 - 0x1a], 0
je 0x49c49f
mov ecx, 2
xor eax, eax
mov byte [ebp - 0x19], dl
mov esi, ebx
mov ebx, ecx
mov ecx, dword [esi + ebx*4 + 0xb8]
mov edx, dword [ecx + 4]
test edx, edx
je 0x49c494
mov ecx, dword [ecx]
mov edi, edx
rep stosb byte es:[edi], al
inc ebx
cmp ebx, 0xd
jne 0x49c480
mov dl, byte [ebp - 0x19]
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 0x49c352
movzx eax, byte [ebp - 0x1a]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0049a770
mov dl, al
test al, al
jne 0x49c380
jmp 0x49c352