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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov esi, dword [esp + 4]
mov dword [esp + 0x5c], 0x49ab30
mov dword [esp + 0x60], 0x5afe04
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x49b2e0
lea eax, [esp + 0x44]
push eax
call fcn.0049bad0
add esp, 4
test esi, esi
jne 0x49b24a
push 0
call fcn.0049a100
add esp, 4
call fcn.0049a9b0
push dword [esp + 4]
call fcn.0049a100
add esp, 4
mov eax, dword [esp + 4]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.00499e30
add esp, 4
mov byte [esp + 3], al
movzx eax, byte [esp + 3]
cmp al, 1
jne 0x49b2a2
mov ecx, dword [esp + 4]
add ecx, 0xffffffd0
mov eax, dword [esp + 4]
mov esi, dword [eax - 0x24]
mov eax, dword [esp + 4]
mov eax, dword [eax - 0x28]
mov edx, dword [esp + 4]
mov edx, dword [edx - 0x18]
mov ebx, edx
sar ebx, 0x1f
mov edi, dword [esp + 4]
mov edi, dword [edi - 0x10]
jmp 0x49b2b6
call fcn.0049aa70
mov esi, eax
xor edi, edi
call fcn.0049a9a0
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], 1
push eax
call fcn.0049aa50
add esp, 4
nop
mov eax, dword [esp + 0x48]
cmp eax, 0xd
jae case.default.0x49b2ed
jmp dword [eax*4 + 0x587c38]
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.0049a100
add esp, 4
movzx eax, byte [esp + 3]
cmp al, 1
jne 0x49b5ee
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
movzx edx, byte [eax]
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x18]
call fcn.0049b610
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
cmp al, 0xff
je 0x49b5d3
mov edx, dword [esp + 0x34]
inc edx
xor eax, eax
xor ecx, ecx
nop dword [eax + eax]
lea esi, [edx + 1]
mov dword [esp + 0x20], esi
movzx ebx, byte [edx]
mov edx, ebx
and edx, 0x7f
shl edx, cl
or edx, eax
mov dword [esp + 0x38], edx
add ecx, 7
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
test bl, bl
js 0x49b360
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 3
call fcn.00518a10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x49b5dc
mov eax, dword [esp + 8]
add eax, 0x30
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 4
push eax
call fcn.00499e30
add esp, 4
mov byte [esp + 0xd], al
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 8]
movzx eax, byte [esp + 0xd]
cmp edx, ecx
je 0x49b4dc
test al, 1
je 0x49b4dc
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 5
push eax
call fcn.00499e20
add esp, 4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, 0x432b2b01
xor eax, dword [esp + 0x78]
mov ecx, 0x434c4e47
xor ecx, dword [esp + 0x7c]
or ecx, eax
jne 0x49b48e
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
jmp 0x49b495
jmp 0x49b453
jmp 0x49b453
jmp 0x49b453
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x48], 0xd
call fcn.0049a1d0
jmp 0x49b5aa
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x14]
call fcn.0049a8f0
jmp 0x49b45b
mov eax, dword [esp + 8]
add eax, 0x50
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx edi, byte [esp + 2]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x48], 6
push dword [esp + 0x10]
push eax
push esi
push edi
push ebx
call fcn.0049b710
add esp, 0x14
mov byte [esp + 0xe], al
cmp byte [esp + 0xe], 0
je 0x49b567
mov eax, dword [0x587cd4]
add eax, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx esi, byte [esp + 2]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], 0xa
lea ebx, [esp + 0x14]
push eax
push ebx
push 0x587b64
push esi
push edi
call fcn.0049b710
add esp, 0x14
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
jne 0x49b5e5
mov dword [esp + 0x48], 0xb
call fcn.0049a1d0
push 4
call fcn.00499e50
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], 0xc
push fcn.0049a8f0
push 0x587b64
push eax
call fcn.00499fb0
add esp, 0xc
jmp case.default.0x49b2ed
mov eax, dword [esp + 8]
neg dword [eax + 0x14]
mov eax, dword [esp + 0x40]
inc dword [eax + 4]
mov dword [esp + 0x48], 7
call fcn.0049a1d0
mov dword [esp + 0x48], 8
call fcn.0049a1d0
push dword [esp + 0x24]
call fcn.0049a100
add esp, 4
mov dword [esp + 0x48], 9
call fcn.0049a3c0
ud2
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.0049bdd0
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.004206f0
push dword [esp + 0x1c]
call fcn.0049aa80
push dword [esp + 0x1c]
call fcn.0049aa80
lea ecx, [esp + 0x14]
call fcn.0049a8f0
mov dword [esp + 0x48], 0xffffffff
call fcn.0049a1d0
push dword [esp + 0x1c]
call fcn.0049aa80
nop word cs:[eax + eax]