Function at 0x140b340
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x14472e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
push esi
push 0x1000
push 0x15b7ae0
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x140b391
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.014077c0
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x140b3c8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.014077c0
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 1
cmp ecx, 1
jb 0x140b41c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x74]
mov esi, dword [ebp - 0x74]
cmp edx, 0xf
cmova eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x140b41c
cmp edx, 0xf
lea eax, [ebp - 0x74]
cmova eax, esi
cmp byte [eax + ecx - 1], 0x2f
je 0x140b41c
push 1
push 0x1448d60
lea ecx, [ebp - 0x74]
call fcn.0140f7b0
push edi
push 1
lea ecx, [ebp - 0x1fc]
call fcn.01409280
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 2
push 0x15b7ae0
push eax
call fcn.01407360
lea eax, [ebp - 0x1ec]
push 0x1448d64
push eax
call fcn.01407360
cmp dword [ebp - 0x60], 0xf
lea eax, [ebp - 0x74]
push dword [ebp - 0x64]
cmova eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.01408010
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmova eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.01408010
lea eax, [ebp - 0x1ec]
push str.metahookdlls
push eax
call fcn.01407360
mov esi, dword [ebp - 0x34]
lea edi, [ebp - 0x44]
add esp, 0x30
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x30], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
cmova edi, dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
cmp esi, 0x7fffffff
ja 0x140b9f1
mov dword [ebp - 0x48], 0xf
cmp esi, 0xf
ja 0x140b4e1
mov dword [ebp - 0x4c], esi
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x5c], xmm0
jmp 0x140b528
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x140b4f4
mov eax, 0x7fffffff
jmp 0x140b4fe
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.01407760
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
lea ecx, [esi + 1]
push ecx
push edi
push eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], esi
call fcn.01426600
add esp, 0x14
push 0x1e
push str.metahookconfigsdllpaths.lst
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0140f7b0
push 1
lea ecx, [ebp - 0x14c]
call fcn.01408cf0
cmp dword [ebp - 0x48], 0xf
lea eax, [ebp - 0x5c]
push 0x40
cmova eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x14c]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.01410ae0
cmp dword [ebp - 0xf0], 0
pop edi
je 0x140b821
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x140], 1
jne 0x140b79b
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [ecx + 4]
mov eax, dword [ebp + eax - 0x11c]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x90], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 6
push eax
call fcn.014087d0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0x14], al
mov byte [ebp - 4], 5
test esi, esi
je 0x140b601
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x140b601
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.01408480
mov esi, dword [ebp - 0x1c]
add esp, 0xc
cmp esi, 1
jbe 0x140b74c
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp edx, 0xf
cmova ecx, eax
seta byte [ebp - 0xd]
cmp byte [ecx], 0xd
je 0x140b9c6
cmp byte [ebp - 0xd], 0
lea ecx, [ebp - 0x2c]
cmovne ecx, eax
cmp byte [ecx], 0xa
je 0x140b9c6
cmp byte [ebp - 0xd], 0
lea ecx, [ebp - 0x2c]
cmovne ecx, eax
cmp byte [ecx], 0
jne 0x140b694
mov byte [ebp - 4], 4
cmp edx, 0xf
jbe 0x140b784
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x140b68d
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x140b9f6
push edx
push eax
jmp 0x140b77c
cmp edx, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, eax
cmp byte [ecx], 0x3b
je 0x140b661
cmp edx, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, eax
cmp byte [ecx], 0x2f
jne 0x140b6bf
cmp edx, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, eax
cmp byte [ecx + 1], 0x2f
je 0x140b661
cmp esi, 2
jbe 0x140b963
cmp edx, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, eax
movsx eax, byte [ecx]
push eax
call fcn.01431ae0
add esp, 4
test eax, eax
je 0x140b963
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmova ecx, edx
seta byte [ebp - 0xd]
cmp byte [ecx + 1], 0x3a
jne 0x140b963
mov cl, byte [ebp - 0xd]
lea eax, [ebp - 0x2c]
test cl, cl
cmovne eax, edx
cmp byte [eax + 2], 0x2f
je 0x140b723
test cl, cl
lea eax, [ebp - 0x2c]
cmovne eax, edx
cmp byte [eax + 2], 0x5c
jne 0x140b963
lea eax, [ebp - 0x1ec]
push 0x1448d64
push eax
call fcn.01407360
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.01408010
add esp, 0x14
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x140b784
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x140b77a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140b9f6
push ecx
push edx
call fcn.01424548
add esp, 8
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x140], 1
je 0x140b590
lea ecx, [ebp - 0x14c]
call fcn.0140fb90
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.014117d0
cmp dword [ebp - 0x78], 0xf
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x140b80c
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x140b802
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140b9f6
push ecx
push edx
call fcn.01424548
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x150], eax
lea ecx, [ebp - 0x13c]
call fcn.01409900
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x150], eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0xdc], vtable.std::ios_base.0
call fcn.01425fd2
mov ecx, dword [ebp - 0x48]
add esp, 4
pop esi
cmp ecx, 0xf
jbe 0x140b8cc
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x140b8c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140b9f6
push ecx
push edx
call fcn.01424548
add esp, 8
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.0140a810
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x140b91d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x140b913
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140b9f6
push ecx
push edx
call fcn.01424548
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x140b9e3
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x140b9d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140b9f6
jmp 0x140b9d9
lea eax, [ebp - 0x1ec]
push 0x1448d64
push eax
call fcn.01407360
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push dword [ebp - 0x64]
cmova ecx, dword [ebp - 0x74]
push ecx
push eax
call fcn.01408010
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
push dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x44]
push ecx
push eax
call fcn.01408010
push str.metahookdlls_
push eax
call fcn.01407360
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.01408010
add esp, 0x34
jmp 0x140b74c
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 4
je 0x140b784
jmp 0x140b66e
push ecx
push edx
call fcn.01424548
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0140f620
call fcn.01432077
int3