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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x49ff26
sub esp, 0xb8
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0044abdb
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xc0]
mov dword [esp], ebx
call edx
lea esi, [esp + 4]
lea edi, [esp + 0x64]
call fcn.0044b0be
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x2f], cl
lea edi, [esp + 0x50]
lea esi, [esp + 0x64]
call fcn.0044b0be
movzx ecx, byte [esp + 0x2f]
test cl, cl
jne 0x49feb1
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0044abd8
lea edi, [esp + 0x98]
call fcn.0044abd8
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x9c], edx
lea edi, [esp + 0x78]
lea esi, [esp + 0x98]
call fcn.0044b0a0
lea ecx, [0x4f5540]
mov dword [esp], ecx
call fcn.0040d220
mov ecx, dword [0x5ac790]
mov edi, dword [esp + 4]
mov dword [esp + 0x38], edi
lea edx, [edi + 0x24]
test ecx, ecx
jne 0x49fe6d
lea esi, [esp + 0x78]
call fcn.0044b0a0
mov edi, edx
lea esi, [esp + 0xc4]
call fcn.0044b0be
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
lea eax, [0x51e360]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
call fcn.0049f420
mov edi, esp
lea esi, [esp + 0xc4]
call fcn.0044b0be
call fcn.004851e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test eax, eax
sete dl
test ecx, ecx
setbe bl
and edx, ebx
test eax, eax
setl bl
or ebx, edx
test bl, bl
je 0x49fd0e
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov byte [esp + 4], 1
mov ecx, dword [0x5988b4]
mov edx, dword [0x5988b0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a0080
lea eax, [0x4ea680]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x4a0590]
mov dword [eax], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x49fcf0
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea edx, [0x51e600]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
nop
call fcn.004256d0
add esp, 0xb8
ret
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
jmp 0x49fcc8
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x38]
lea ecx, [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
call fcn.0044f100
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x50ee24]
mov dword [esp + 4], eax
call fcn.00424eb0
test eax, eax
jne 0x49fe60
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x49fdce
lea eax, [0x4ea680]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x4a0630]
mov dword [eax], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x49fdb0
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
lea edx, [0x51e600]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
nop
call fcn.004256d0
add esp, 0xb8
ret
mov dword [esp + 0x44], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
jmp 0x49fd88
lea eax, [0x4ea680]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
lea ecx, [0x4a05e0]
mov dword [eax], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 4]
test ecx, ecx
jne 0x49fe46
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004838f0
mov eax, dword [0x5ac790]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 0x20]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x49fe31
mov dword [ecx + 0x20], ebx
jmp 0x49fd5a
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040da50
mov ecx, dword [esp + 0x38]
jmp 0x49fd5a
mov dword [esp + 0x40], eax
mov dword [esp], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x40]
jmp 0x49fdfc
nop
call fcn.004256d0
add esp, 0xb8
ret
mov dword [esp + 0x3c], edx
lea eax, [0x4f9000]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0040db60
lea eax, [0x503b20]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0xc4]
mov dword [esp + 8], eax
call fcn.0040db60
jmp 0x49fc13
mov edi, esp
lea esi, [esp + 0x50]
call fcn.0044b0be
lea edi, [esp + 0x14]
lea esi, [esp + 0xc4]
call fcn.0044b0be
call fcn.00483c90
movzx eax, byte [esp + 0x28]
test al, al
je 0x49fb92
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.0049f2f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
nop
call fcn.004256d0
add esp, 0xb8
ret
call fcn.004491a0
jmp fcn.0049fb00