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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49bd4a
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x49bd06
movzx edx, byte [0xa7d7a8]
test dl, dl
je 0x49bcfa
mov dword [0xa7d7ac], ecx
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x49bce3
mov eax, dword [esp + 0x84]
mov dword [0xa7d7b0], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x49bcd8
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x49b87d
or edx, 0x80
mov ebx, edx
and edx, 0x1f
cmp edx, 0x17
jne 0x49bc9a
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004a5e00
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49bc89
cmp eax, 1
je 0x49bc78
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.004a8370
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x802a00]
cmp edx, ecx
jne 0x49bd2c
movzx ecx, byte [eax + 0xf]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test cl, 0x80
jne 0x49ba9b
cmp edx, 4
je 0x49ba2d
and ecx, 0x1f
cmp ecx, 0x18
je 0x49b9bf
mov dword [esp + 0x70], eax
mov dword [esp], eax
call fcn.00409d40
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [0x75bf80]
mov dword [esp], ecx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab420]
mov dword [eax], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49b9ad
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49b98f
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.0044c9e0
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x54]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49b984
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49b965
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
lea ebx, [0x742020]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab230]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49ba1b
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49ba10
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
lea ebx, [0x741fc0]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab1c0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49ba89
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49ba7e
cmp edx, 2
ja 0x49bb8e
cmp edx, 1
je 0x49bb20
cmp edx, 2
jne 0x49b926
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
lea ebx, [0x741de0]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab380]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49bb0e
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49bb03
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea ebx, [0x741f00]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab3d0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49bb7c
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49bb71
cmp edx, 4
je 0x49bc0a
cmp edx, 8
jne 0x49b926
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea ebx, [0x741ea0]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab2d0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49bbf8
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49bbed
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
lea ebx, [0x741e40]
mov dword [esp], ebx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab330]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x49bc66
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0044c9e0
mov eax, ecx
jmp 0x49bc5b
lea eax, [0x7af0e0]
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea eax, [0x7af0dc]
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov dword [esp + 0x48], edx
lea eax, [0x74d440]
mov dword [esp], eax
call fcn.00409d00
mov edi, dword [esp + 4]
mov dword [edi + 4], 7
mov eax, dword [0xa8f2d0]
test eax, eax
jne 0x49bccb
lea eax, [0x792181]
mov dword [edi], eax
jmp 0x49bd11
lea eax, [0x792181]
call fcn.0044c9e0
jmp 0x49bd11
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x49b87d
lea edi, [0xa7d7b0]
mov eax, dword [esp + 0x84]
call fcn.0044c9e0
jmp 0x49b855
mov eax, dword [esp + 0x84]
jmp 0x49b855
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x49b87d
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
lea eax, [0x73d160]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004275c0
ud2
mov dword [esp], ecx
lea eax, [0x7890a0]
mov dword [esp + 4], eax
lea eax, [0x77f220]
mov dword [esp + 8], eax
call fcn.004072d0
ud2
call fcn.0044b280
jmp fcn.0049b7f0