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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49aaed
sub esp, 0x54
mov eax, dword [esp + 0x60]
test eax, 0x200
jne 0x49a880
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
jmp 0x49a8b4
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.004929d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00494e30
movzx eax, byte [esp + 8]
test al, al
je 0x49a915
mov eax, dword [esp + 0x38]
test eax, 0x60
je 0x49a8eb
mov ecx, 0x20
jmp 0x49a8ed
xor ecx, ecx
and eax, 0x180
or ecx, eax
mov eax, dword [esp + 0x6c]
movzx edx, byte [eax + 0xf]
and edx, 0x1f
or edx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
add esp, 0x54
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call fcn.00494790
movzx eax, byte [esp + 8]
test al, al
je 0x49aa3a
mov eax, dword [esp + 0x38]
mov ecx, eax
and eax, 0x1f
nop
cmp eax, 0x14
jne 0x49a96b
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
test edx, edx
jne 0x49a96f
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x14
add esp, 0x54
ret
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
call fcn.004983b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x49a9b2
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00462bb0
mov eax, dword [esp + 4]
mov edx, eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004012e0
mov eax, dword [esp + 4]
test eax, eax
jne 0x49a9fa
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [0x7f7690]
test eax, eax
jne 0x49a9e4
mov eax, dword [esp + 0x40]
jmp 0x49a9f5
call fcn.004672b0
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
jmp 0x49aa22
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xc], ecx
call fcn.00462a10
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0x94
add esp, 0x54
ret
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00492df0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call fcn.00492df0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 8], edx
lea edx, [0x61fd1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x10
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
lea edx, [0x6255f0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.00451450
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409cd0
mov eax, dword [esp + 8]
lea ecx, [0x5eea60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00437cb0
nop
call fcn.00465ea0
jmp fcn.0049a850