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

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
mov esi, eax
push esi
lea edi, [esp + 0x30]
call fcn.0049c1e0
test eax, eax
je 0x4b9637
mov ebx, dword [esp + 0x74]
cmp dword [ebx], 4
je 0x4b961f
mov edx, dword [esp + 0x70]
push 0
push 0x4848e8
push esi
push edx
push esi
push ebp
mov dword [ebx], 2
call fcn.004903e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
movzx eax, byte [ebp + 3]
mov ecx, dword [ebp + 0x48]
push eax
push ecx
call fcn.004c3d7f
add esp, 8
xor al, al
jmp 0x49c046
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x48520c
lea edx, [esp + 0x38]
push edx
call 0x4df174
test eax, eax
je 0x4b9676
lea eax, [esp + 0x2c]
push eax
call fcn.004c1be1
movzx ecx, byte [ebp + 3]
mov edx, dword [ebp + 0x48]
push ecx
push edx
call fcn.004c3d7f
add esp, 8
xor al, al
jmp 0x49c046
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
or ecx, 0xffffffff
lea esi, [eax + 1]
mov dword [ebp + 0x10], eax
mov word [esp + 0x28], cx
xor ecx, ecx
xor edi, edi
mov eax, esi
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x6c], 4
mov dword [esp + 0x38], 0x485234
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0049e31a
add esp, 4
cmp eax, edi
je 0x4b96e8
lea edi, [eax + 4]
mov dword [eax], esi
push 0x10
mov ebx, 0x4027b6
mov eax, esi
mov ecx, edi
call fcn.0049d720
or ecx, 0xffffffff
mov eax, 1
cmp dword [ebp + 0x10], eax
mov dword [ebp + 0x44], edi
mov word [esp + 0x2a], cx
jl 0x4b98c3
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x10
lea ebx, [esp + 0x38]
call fcn.00499de0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
movzx ebx, byte [ecx + edx]
lea eax, [ecx + edx]
inc ecx
mov edi, ebx
lea esi, [esp + 0x20]
mov dword [esp + 0x6c], ecx
call fcn.0048f700
push esi
call fcn.004c2280
test al, al
je 0x4b975c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
lea eax, [ecx + edx]
mov eax, dword [eax]
add ecx, 4
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x20], eax
jmp 0x4b9883
lea ecx, [esp + 0x20]
push ecx
call fcn.004c2262
test al, al
je 0x4b978e
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
lea eax, [ecx + edx]
mov edx, dword [eax + 4]
add ecx, 8
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x4b9883
lea eax, [esp + 0x20]
push eax
call fcn.004c2244
test al, al
je 0x4b97ba
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
fld qword [ecx + edx]
lea eax, [ecx + edx]
add ecx, 8
fstp qword [esp + 0x20]
mov dword [esp + 0x6c], ecx
jmp 0x4b9883
lea eax, [esp + 0x20]
call fcn.00499e40
test al, al
je 0x4b9883
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x6c]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call 0x4d1c51
mov ebx, eax
mov eax, edi
cmp eax, 0x31
jne 0x4b981c
mov edi, ebx
lea esi, [esp + 0x48]
call fcn.0048e770
push esi
push ebp
call 0x4d1c1b
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.0048f220
mov edi, 1
lea esi, [esp + 0x20]
call fcn.0048f700
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
jmp 0x4b9876
cmp eax, 0x30
jne 0x4b9852
mov edi, ebx
lea esi, [esp + 0x58]
call fcn.0048e770
push esi
call 0x4d1bea
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.0048f220
xor edi, edi
lea esi, [esp + 0x20]
call fcn.0048f700
mov edx, dword [esp + 0x70]
mov dword [esp + 0x20], edx
jmp 0x4b9876
push ebx
cmp eax, 0x37
jne 0x4b986c
push ebp
call 0x4d940c
push ebx
call fcn.0049deef
add esp, 4
jmp 0x4b9716
lea eax, [esp + 0x24]
push eax
call 0x4d8008
push ebx
call fcn.0049deef
mov ebx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x3c]
call fcn.0048f8c0
cmp ebx, 0x7f
jne 0x4b9716
mov eax, dword [ebp + 0x44]
mov esi, dword [esp + 0x1c]
push edi
add eax, esi
push eax
call fcn.0048f2a0
mov eax, dword [esp + 0x18]
inc eax
add esi, 0x10
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
jle 0x4b970d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004a0688
add esp, 4
lea edx, [esp + 0x2c]
push edx
call fcn.004c1be1
lea ecx, [esp + 0x38]
call fcn.0049b960
lea eax, [esp + 0x20]
push eax
call 0x4d8053
mov al, 1
jmp 0x49c046