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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1448606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ec
push esi
push 0x1000
push 0x45bcb40
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x140ba55
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.01405d40
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x140ba90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.01405d40
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
cmp ecx, 1
jb 0x140bae4
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
cmp edx, 0x10
cmovae eax, esi
cmp byte [ecx + eax - 1], 0x5c
je 0x140bae4
cmp edx, 0x10
lea eax, [ebp - 0x58]
cmovae eax, esi
cmp byte [eax + ecx - 1], 0x2f
je 0x140bae4
push 1
push 0x4449d80
lea ecx, [ebp - 0x58]
call fcn.01410020
push edi
push 1
lea ecx, [ebp - 0x1f8]
call fcn.01409810
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 2
push 0x45bcb40
push eax
call fcn.01408100
lea eax, [ebp - 0x1e8]
push 0x4449d84
push eax
call fcn.01408100
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.01408760
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.01408760
lea eax, [ebp - 0x1e8]
push str.metahookdlls
push eax
call fcn.01408100
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x40]
add esp, 0x30
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x28], eax
cmp edi, 0x10
jae 0x140bb9d
movups xmm0, xmmword [eax]
mov dword [ebp - 0x5c], 0xf
movups xmmword [ebp - 0x70], xmm0
jmp 0x140bbce
mov esi, edi
lea ecx, [ebp - 0x70]
mov eax, 0x7fffffff
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.01405ce0
lea ecx, [edi + 1]
mov dword [ebp - 0x70], eax
push ecx
push dword [ebp - 0x28]
push eax
call fcn.01427290
add esp, 0xc
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
push 0x1e
push str.metahookconfigsdllpaths.lst
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.01410020
push 1
lea ecx, [ebp - 0x148]
call fcn.014092c0
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 0x40
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x148]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.01411190
cmp dword [ebp - 0xec], 0
pop edi
je 0x140bf11
mov ecx, dword [ebp - 0x148]
add ecx, 4
mov eax, dword [ecx]
test byte [ebp + eax - 0x13c], 1
jne 0x140be8b
nop word [eax + eax]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
mov eax, dword [ecx]
mov eax, dword [ebp + eax - 0x118]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x8c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 6
push eax
call fcn.01408f30
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], 5
test esi, esi
je 0x140bcb0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x140bcb0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.01408bf0
mov esi, dword [ebp - 0x14]
add esp, 0xc
cmp esi, 1
jbe 0x140be3a
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp edx, 0x10
cmovae ecx, eax
cmp byte [ecx], 0xd
je 0x140bd02
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0xa
je 0x140bd02
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0
jne 0x140bd35
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x140be72
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x140bd2e
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x140c059
push edx
push eax
jmp 0x140be6a
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0x3b
je 0x140bd02
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0x2f
jne 0x140bd60
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx + 1], 0x2f
je 0x140bd02
cmp esi, 2
jbe 0x140bddc
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
movsx eax, byte [ecx]
push eax
call fcn.01431ff0
add esp, 4
test eax, eax
je 0x140bddc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x24]
cmp ecx, 0x10
cmovae eax, edx
cmp byte [eax + 1], 0x3a
jne 0x140bddc
cmp ecx, 0x10
lea eax, [ebp - 0x24]
cmovae eax, edx
cmp byte [eax + 2], 0x2f
je 0x140bdb1
cmp ecx, 0x10
lea eax, [ebp - 0x24]
cmovae eax, edx
cmp byte [eax + 2], 0x5c
jne 0x140bddc
lea eax, [ebp - 0x1e8]
push 0x4449d84
push eax
call fcn.01408100
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x24]
push ecx
push eax
call fcn.01408760
add esp, 0x14
jmp 0x140be3a
lea eax, [ebp - 0x1e8]
push 0x4449d84
push eax
call fcn.01408100
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ecx
push eax
call fcn.01408760
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
push eax
call fcn.01408760
push str.metahookdlls_
push eax
call fcn.01408100
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x24]
push ecx
push eax
call fcn.01408760
add esp, 0x34
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x140be72
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140be68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c059
push edx
push ecx
call fcn.01424ca8
add esp, 8
mov ecx, dword [ebp - 0x148]
add ecx, 4
mov eax, dword [ecx]
test byte [ebp + eax - 0x13c], 1
je 0x140bc40
lea ecx, [ebp - 0x148]
call fcn.014102f0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.01411f10
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x140befc
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140bef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c059
push edx
push ecx
call fcn.01424ca8
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov eax, dword [ebp - 0x148]
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 - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x14c], eax
lea ecx, [ebp - 0x138]
call fcn.01409e80
mov eax, dword [ebp - 0x148]
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 - 0x148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x14c], eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0xd8], vtable.std::ios_base.0
call fcn.01426894
mov edx, dword [ebp - 0x5c]
add esp, 4
pop esi
cmp edx, 0x10
jb 0x140bfbc
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140bfb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c059
push edx
push ecx
call fcn.01424ca8
add esp, 8
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0140ade0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x140c009
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140bfff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c059
push edx
push ecx
call fcn.01424ca8
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x140c04b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140c041
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c059
push edx
push ecx
call fcn.01424ca8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.01432587
int3