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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49b5b8
add esp, 0xffffff80
mov eax, 0
lea edi, [esp + 0x6c]
call fcn.0045619b
mov byte [esp + 0x23], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x84]
test byte [eax], al
mov dword [esp], eax
call fcn.00498580
movzx eax, byte [esp + 4]
test al, al
je 0x49b576
xor eax, eax
xor ecx, ecx
test ecx, ecx
jne 0x49b559
lea eax, [0x5274f4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov byte [esp + 0x23], 1
lea ecx, [eax + 0x100]
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
call fcn.00469020
lea eax, [0x52773c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
call fcn.004854a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x49b51a
mov ecx, dword [esp + 0x84]
mov ebp, dword [ecx + 0x10]
lea esi, [0x52775c]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], 0
mov byte [esp + 0x23], 7
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
xor edi, edi
jmp 0x49b388
mov edx, dword [esp + 0x94]
add edx, eax
mov esi, dword [esp + 0x98]
adc esi, 0
sub ecx, eax
mov ebp, dword [esp + 0x30]
sub ebp, eax
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x64]
add eax, ebp
mov ebp, edx
mov edx, ecx
mov ecx, dword [esp + 0x84]
mov ecx, eax
mov eax, edi
mov edi, ebx
mov ebx, ecx
mov ecx, dword [esp + 0x84]
test edx, edx
jle 0x49b4ae
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
cmp edx, 0x40000000
jle 0x49b4a5
mov dword [esp + 0x40], eax
mov eax, 0x40000000
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x28], 0
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.0045619b
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ecx
call fcn.00485c50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add ebx, eax
test edx, edx
jne 0x49b441
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jbe 0x49b340
jmp 0x49b5a9
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.004854a0
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004693f0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00498b40
sub esp, 0xffffff80
ret
mov dword [esp + 0x34], edx
jmp 0x49b3b5
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.004854a0
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004693f0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00498b40
sub esp, 0xffffff80
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004693f0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00498b40
sub esp, 0xffffff80
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
movzx ecx, byte [eax + 0x137]
test cl, cl
je 0x49b59b
mov ecx, dword [0x601b90]
mov edx, dword [0x601b94]
mov eax, edx
jmp 0x49b25f
mov edx, dword [0x601b9c]
mov ecx, dword [0x601b98]
jmp 0x49b594
call fcn.00456010
nop
call fcn.0042cf10
sub esp, 0xffffff80
ret
call fcn.004546e0
jmp fcn.0049b1f0