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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x49caee
sub esp, 0xb4
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00497bd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea edx, [esp + 0xb8]
cmp dword [edx + 4], eax
je 0x49c537
jmp 0x49c622
mov edx, dword [esp + 0xb8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402b40
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49c55c
jmp 0x49c620
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xa4]
mov dword [esp + 0x28], eax
test byte [eax], al
mov dword [esp + 0xa8], 1
lea ecx, [0x4b0c7b]
mov dword [esp + 0xa4], ecx
test byte [eax], al
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
test byte [eax], al
jmp 0x49c5d3
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa0], 2
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00497b60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
jmp 0x49c626
jmp 0x49c624
jmp 0x49c624
jmp 0x49c626
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x49c636
jmp 0x49c6e3
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049e700
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xb4
ret
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00497e00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
test eax, eax
jne 0x49c716
jmp 0x49c7d5
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049e700
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xb4
ret
jmp 0x49c7d7
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x20], edx
cmp edx, 1
setg dl
mov byte [esp + 0x1f], dl
jg 0x49c7f0
jmp 0x49c825
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
test ecx, ecx
ja 0x49c807
jmp 0x49cae6
movzx eax, byte [edx]
mov byte [esp + 0x1d], al
mov byte [esp], al
call fcn.0048b220
movzx eax, byte [esp + 4]
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
jmp 0x49c827
jmp 0x49c827
movzx eax, byte [esp + 0x1f]
test al, al
jne 0x49c835
jmp 0x49c8e2
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049e700
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
add esp, 0xb4
ret
jmp 0x49c8e4
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea eax, [esp + 0xa4]
mov dword [esp + 0x24], eax
test byte [eax], al
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], ecx
test byte [eax], al
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x24]
test byte [eax], al
jmp 0x49c95f
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], 2
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00497b60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049e700
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x49ca22
jmp 0x49ca55
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00495f20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b920
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
add esp, 0xb4
ret
xor eax, eax
call fcn.0045d960
nop
call fcn.0045c4a0
jmp fcn.0049c4b0