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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x14485b6
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 0x140ba25
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.01405d00
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 0x140ba60
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.01405d00
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 1
cmp ecx, 1
jb 0x140bab4
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 0x140bab4
cmp edx, 0x10
lea eax, [ebp - 0x58]
cmovae eax, esi
cmp byte [eax + ecx - 1], 0x2f
je 0x140bab4
push 1
push 0x4449d80
lea ecx, [ebp - 0x58]
call fcn.0140fff0
push edi
push 1
lea ecx, [ebp - 0x1f8]
call fcn.014097e0
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 2
push 0x45bcb40
push eax
call fcn.014080c0
lea eax, [ebp - 0x1e8]
push 0x4449d84
push eax
call fcn.014080c0
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.01408720
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.01408720
lea eax, [ebp - 0x1e8]
push str.metahookdlls
push eax
call fcn.014080c0
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 0x140bb6d
movups xmm0, xmmword [eax]
mov dword [ebp - 0x5c], 0xf
movups xmmword [ebp - 0x70], xmm0
jmp 0x140bb9e
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.01405ca0
lea ecx, [edi + 1]
mov dword [ebp - 0x70], eax
push ecx
push dword [ebp - 0x28]
push eax
call fcn.01427250
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.0140fff0
push 1
lea ecx, [ebp - 0x148]
call fcn.01409290
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.01411160
cmp dword [ebp - 0xec], 0
pop edi
je 0x140bee1
mov ecx, dword [ebp - 0x148]
add ecx, 4
mov eax, dword [ecx]
test byte [ebp + eax - 0x13c], 1
jne 0x140be5b
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.01408f00
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 0x140bc80
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x140bc80
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.01408bb0
mov esi, dword [ebp - 0x14]
add esp, 0xc
cmp esi, 1
jbe 0x140be0a
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 0x140bcd2
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0xa
je 0x140bcd2
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0
jne 0x140bd05
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x140be42
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0x140bcfe
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x140c029
push edx
push eax
jmp 0x140be3a
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0x3b
je 0x140bcd2
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx], 0x2f
jne 0x140bd30
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
cmp byte [ecx + 1], 0x2f
je 0x140bcd2
cmp esi, 2
jbe 0x140bdac
cmp edx, 0x10
lea ecx, [ebp - 0x24]
cmovae ecx, eax
movsx eax, byte [ecx]
push eax
call fcn.01431fa0
add esp, 4
test eax, eax
je 0x140bdac
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 0x140bdac
cmp ecx, 0x10
lea eax, [ebp - 0x24]
cmovae eax, edx
cmp byte [eax + 2], 0x2f
je 0x140bd81
cmp ecx, 0x10
lea eax, [ebp - 0x24]
cmovae eax, edx
cmp byte [eax + 2], 0x5c
jne 0x140bdac
lea eax, [ebp - 0x1e8]
push 0x4449d84
push eax
call fcn.014080c0
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x24]
push ecx
push eax
call fcn.01408720
add esp, 0x14
jmp 0x140be0a
lea eax, [ebp - 0x1e8]
push 0x4449d84
push eax
call fcn.014080c0
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
push ecx
push eax
call fcn.01408720
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
push eax
call fcn.01408720
push str.metahookdlls_
push eax
call fcn.014080c0
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
cmovae ecx, dword [ebp - 0x24]
push ecx
push eax
call fcn.01408720
add esp, 0x34
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x140be42
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140be38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c029
push edx
push ecx
call fcn.01424c68
add esp, 8
mov ecx, dword [ebp - 0x148]
add ecx, 4
mov eax, dword [ecx]
test byte [ebp + eax - 0x13c], 1
je 0x140bc10
lea ecx, [ebp - 0x148]
call fcn.014102c0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.01411ee0
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 0x140becc
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140bec2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c029
push edx
push ecx
call fcn.01424c68
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.01409e50
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.01426854
mov edx, dword [ebp - 0x5c]
add esp, 4
pop esi
cmp edx, 0x10
jb 0x140bf8c
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140bf82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c029
push edx
push ecx
call fcn.01424c68
add esp, 8
lea ecx, [ebp - 0x1f8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0140adb0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x140bfd9
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140bfcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c029
push edx
push ecx
call fcn.01424c68
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 0x140c01b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x140c011
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x140c029
push edx
push ecx
call fcn.01424c68
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.01432537
int3