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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49adf2
sub esp, 0x54
mov eax, dword [esp + 0x60]
test eax, 0x200
jne 0x49aaee
mov edx, eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
jmp 0x49ab22
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.00493250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00495940
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00494740
movzx eax, byte [esp + 8]
test al, al
jne 0x49acd7
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call fcn.00495940
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004941f0
movzx eax, byte [esp + 8]
test al, al
je 0x49ad23
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call fcn.004980e0
cmp dword [esp + 0xc], 0x14
jne 0x49abe8
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call fcn.00497fc0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49acbb
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
call fcn.0049dbd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x49ac33
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0046c300
mov eax, dword [esp + 4]
mov edx, eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00401a60
mov eax, dword [esp + 4]
test eax, eax
jne 0x49ac7b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov eax, dword [0x8c88d8]
test eax, eax
jne 0x49ac65
mov eax, dword [esp + 0x44]
jmp 0x49ac76
call fcn.004772f0
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
jmp 0x49aca3
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
call fcn.0046b960
mov ecx, dword [esp + 0x50]
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 + 0x6c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x14
add esp, 0x54
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00495900
mov eax, dword [esp + 0x40]
and eax, 0x180
or eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
call fcn.004013a0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x38]
or eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00495940
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.00494fd0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call fcn.00494fd0
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, [0x70623c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x10
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
lea edx, [0x70c7c5]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x1b
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.00455fd0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046b860
mov eax, dword [esp + 8]
lea ecx, [0x6c0080]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00470a40
nop
call fcn.00475ee0
jmp fcn.0049aac0