Function at 0x49b380
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], 0x49abf0
mov dword [esp + 0x60], 0x5b6e04
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x49b380
lea eax, [esp + 0x44]
push eax
call fcn.0049bb60
add esp, 4
test esi, esi
jne 0x49b2ea
push 0
call fcn.0049a1a0
add esp, 4
call fcn.0049aa70
push dword [esp + 4]
call fcn.0049a1a0
add esp, 4
mov eax, dword [esp + 4]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.00499ed0
add esp, 4
mov byte [esp + 3], al
movzx eax, byte [esp + 3]
cmp al, 1
jne 0x49b342
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 0x49b356
call fcn.0049ab30
mov esi, eax
xor edi, edi
call fcn.0049aa60
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], 1
push eax
call fcn.0049ab10
add esp, 4
nop
mov eax, dword [esp + 0x48]
cmp eax, 0xd
jae case.default.0x49b38f
jmp dword [eax*4 + 0x58fa38]
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.0049a1a0
add esp, 4
movzx eax, byte [esp + 3]
cmp al, 1
jne 0x49b687
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
movzx edx, byte [eax]
mov dword [esp + 0x48], 2
lea ecx, [esp + 0x28]
call fcn.0049b6a0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
cmp al, 0xff
je 0x49b66c
mov edx, dword [esp + 0x30]
inc edx
xor eax, eax
xor ecx, ecx
nop dword [eax]
lea esi, [edx + 1]
mov dword [esp + 0x34], 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 + 0x34]
mov eax, dword [esp + 0x38]
test bl, bl
js 0x49b400
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], 3
call fcn.005219f0
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 0x49b675
mov eax, dword [esp + 8]
add eax, 0x30
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 4
push eax
call fcn.00499ed0
add esp, 4
mov byte [esp + 0xd], al
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0xd]
cmp dl, 1
jne 0x49b575
cmp ecx, eax
je 0x49b575
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 5
push eax
call fcn.00499ec0
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 0x49b527
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c]
jmp 0x49b52e
jmp 0x49b4ec
jmp 0x49b4ec
jmp 0x49b4ec
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.0049a280
jmp 0x49b643
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x14]
call fcn.0049a9b0
jmp 0x49b4f4
mov eax, dword [esp + 8]
add eax, 0x50
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
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.0049b7a0
add esp, 0x14
mov byte [esp + 0xe], al
cmp byte [esp + 0xe], 0
je 0x49b600
mov eax, dword [0x58fad4]
add eax, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx esi, byte [esp + 2]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], 0xa
lea ebx, [esp + 0x14]
push eax
push ebx
push 0x58f964
push esi
push edi
call fcn.0049b7a0
add esp, 0x14
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 0
jne 0x49b67e
mov dword [esp + 0x48], 0xb
call fcn.0049a280
push 4
call fcn.00499ef0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], 0xc
push fcn.0049a9b0
push 0x58f964
push eax
call fcn.0049a050
add esp, 0xc
jmp case.default.0x49b38f
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.0049a280
mov dword [esp + 0x48], 8
call fcn.0049a280
push dword [esp + 0x1c]
call fcn.0049a1a0
add esp, 4
mov dword [esp + 0x48], 9
call fcn.0049a470
ud2
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x48], 0xffffffff
push eax
call fcn.0049be60
mov eax, dword [esp + 0x50]
push dword [esp + 0x4c]
call fcn.004211b0
push dword [esp + 0x18]
call fcn.0049ab40
push dword [esp + 0x18]
call fcn.0049ab40
lea ecx, [esp + 0x14]
call fcn.0049a9b0
mov dword [esp + 0x48], 0xffffffff
call fcn.0049a280
push dword [esp + 0x18]
call fcn.0049ab40
nop dword [eax]