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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49eff5
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x49ebca
nop
cmp eax, 1
jne 0x49e9c6
mov ecx, dword [esp + 0x6c]
cmp byte [ecx], 0x2e
je 0x49e9eb
jmp 0x49e9ca
mov ecx, dword [esp + 0x6c]
cmp eax, 2
jl 0x49ea5a
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x2e
jne 0x49ea5a
movzx edx, byte [eax + ecx - 2]
cmp dl, 0x5c
je 0x49e9eb
cmp dl, 0x2f
jne 0x49ea5a
lea eax, [0x5f20c0]
mov dword [esp], eax
call fcn.0040bd40
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x60c86e]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7c78f0]
test ecx, ecx
jne 0x49ea26
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
jmp 0x49ea36
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00463730
mov eax, ecx
lea ecx, [0x661f44]
mov dword [eax + 0x10], ecx
lea ecx, [0x6611a8]
mov dword [eax + 0x14], ecx
lea ecx, [0x661bac]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0049db20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
je 0x49eaa7
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], ecx
mov edx, dword [0x7a1b38]
mov ebx, dword [0x7a1b3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0049a830
movzx eax, byte [esp + 0x10]
test al, al
je 0x49eabb
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0049f090
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x49eba5
lea eax, [0x661bac]
cmp edx, eax
je 0x49eafe
mov ecx, 0
jne 0x49eb85
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x64], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ebx, dword [0x7a1b38]
mov ebp, dword [0x7a1b3c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0049a830
movzx eax, byte [esp + 0x10]
test al, al
je 0x49eb46
mov eax, 1
jmp 0x49eb79
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea edx, [0x661f44]
cmp ecx, edx
je 0x49eb5e
xor eax, eax
jmp 0x49eb79
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x66119c]
mov dword [esp + 8], eax
call fcn.00403850
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49eb91
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x49ebde
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0049c800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x49ed12
mov dword [esp + 0x40], edx
jmp 0x49ed77
nop
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49ec4b
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0049d960
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [0x7a17c4]
cmp dword [0x7a17c0], edx
jne 0x49ec82
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00403850
movzx eax, byte [esp + 0xc]
test al, al
jne 0x49eeb9
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49ec90
mov ebp, eax
mov esi, dword [esp + 0x58]
test ecx, ecx
je 0x49eeb9
cmp ecx, 0x400
jge 0x49ebde
mov dword [esp + 0x58], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0049db20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
je 0x49eea5
mov edx, dword [0x7a1b38]
mov ebx, dword [0x7a1b3c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0049a830
movzx eax, byte [esp + 0x10]
test al, al
jne 0x49eea5
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49ebde
jmp 0x49ee95
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], ebx
mov eax, dword [0x7a1b38]
mov edx, dword [0x7a1b3c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0049a830
movzx eax, byte [esp + 0x10]
test al, al
je 0x49ed57
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov dword [esp + 4], 0x400
call fcn.00499c70
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x64], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x24], edi
xor edi, edi
jmp 0x49ee06
mov eax, dword [esp + 0x24]
cmp eax, 0x400
je 0x49ed6b
jmp 0x49ec24
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 1]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
cmp edi, ecx
jge 0x49edcb
mov dword [esp + 0x34], edi
lea ecx, [eax + edi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
lea esi, [0x6605a0]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.0044dcb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049e990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x49ee7c
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
jmp 0x49ee7e
mov edx, eax
test edx, edx
je 0x49ee8c
mov edx, dword [esp + 0x24]
inc edx
jmp 0x49eddb
mov edx, dword [esp + 0x24]
jmp 0x49eddb
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0049db20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x49ef12
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [0x7a1b38]
mov ebx, dword [0x7a1b3c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.0049a830
movzx eax, byte [esp + 0x10]
test al, al
je 0x49ef26
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x7a1b40]
mov ecx, dword [0x7a1b44]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049a830
movzx eax, byte [esp + 0x10]
test al, al
jne 0x49ef64
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x49efe9
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0049f000
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x49ef92
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x49efe9
mov eax, dword [ecx + 0x18]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
or eax, 0x80
mov dword [esp + 8], eax
call fcn.0049cd50
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49efcd
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x50]
jmp 0x49efe9
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0049db20
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x68
ret
call fcn.00462320
jmp fcn.0049e990