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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454030
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x40]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.Environment
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00404580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00420840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
push eax
mov edx, 0x80000002
lea ecx, [ebp - 0xa0]
call fcn.00426770
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004040c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x425ce0
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425cd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4263e6
push ecx
push edx
call fcn.004332cf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x463508
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x100]
mov word [ebp - 0x40], ax
call fcn.00427b00
add esp, 4
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0xb
push str.Environment
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404580
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
mov edx, 0x80000001
lea ecx, [ebp - 0xf4]
call fcn.00426a40
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004040c0
mov eax, dword [ebp - 0xf0]
mov esi, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], eax
cmp esi, eax
je 0x425e4f
mov edx, dword [ebp - 0xfc]
add esi, 0x18
mov dword [ebp - 0xd8], esi
nop word [eax + eax]
mov edi, dword [ebp - 0x100]
cmp edi, edx
je 0x425e37
mov eax, dword [esi - 8]
mov dword [ebp - 0xd4], eax
cmp dword [esi - 4], 8
lea eax, [esi - 0x18]
jb 0x425db2
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
mov ecx, edi
mov esi, dword [edi + 0x10]
jb 0x425dbf
mov ecx, dword [edi]
cmp esi, dword [ebp - 0xd4]
jne 0x425df5
test esi, esi
je 0x425e0a
sub ecx, eax
mov dword [ebp - 0xe4], ecx
movzx edx, word [eax + ecx]
movzx ecx, word [eax]
cmp dx, cx
jne 0x425def
add eax, 2
sub esi, 1
je 0x425e04
mov ecx, dword [ebp - 0xe4]
jmp 0x425dd3
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xd8]
add edi, 0x18
cmp edi, edx
jne 0x425da7
jmp 0x425e0a
mov edx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0xd8]
cmp edi, edx
je 0x425e37
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x425e1e
mov ecx, dword [esi]
cmp dword [esi - 4], 8
lea eax, [esi - 0x18]
jb 0x425e29
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edx, dword [ebp - 0xfc]
add esi, 0x30
mov dword [ebp - 0xd8], esi
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0xe0]
jne 0x425d90
lea ecx, [ebp - 0x40]
call fcn.00420840
mov byte [ebp - 4], 9
mov edx, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.00428630
mov byte [ebp - 4], 0xa
mov edx, eax
push str.Environment
lea ecx, [ebp - 0x70]
call fcn.00419650
mov byte [ebp - 4], 0xb
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0x1c]
call fcn.00426a40
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xf4]
cmp eax, esi
je 0x425ed6
mov ecx, eax
call fcn.00427f10
mov ecx, dword [esi]
mov dword [ebp - 0xf4], ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0xf0], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xec], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1c]
call fcn.00427f10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.004040c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.004040c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.004040c0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe8], ecx
cmp eax, ecx
je 0x4260e2
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 0xd
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], cx
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x28]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
call fcn.004274b0
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd4]
add ecx, 0x18
push eax
lea edx, [ebp - 0x58]
call fcn.004276c0
mov eax, dword [ebp - 0xe4]
add esp, 0xc
sub eax, 0
je 0x426041
sub eax, 1
je 0x425ffa
sub eax, 1
jne 0x4260af
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x4260af
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call edi
test eax, eax
jne 0x4260af
call esi
cmp eax, 0xcb
jne 0x4260af
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x4260af
mov esi, dword [ebp - 0xd4]
mov eax, esi
sub eax, 0
je 0x4263b8
sub eax, 1
je 0x426060
sub eax, 1
jne 0x4263d6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call edi
mov edi, eax
test edi, edi
jne 0x42612d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xcb
jne 0x4260a9
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
call fcn.004040c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.004040c0
mov eax, dword [ebp - 0xe0]
add eax, 0x30
mov dword [ebp - 0xe0], eax
cmp eax, dword [ebp - 0xe8]
jne 0x425f40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
call fcn.00427f10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100]
call fcn.00427ff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004040c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
push eax
push edi
call fcn.00403ec0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push edi
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4261b3
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
cmp ecx, 8
cmovae eax, edx
dec edi
cmp word [eax + edi*2], 0
jne 0x4261b3
cmp ecx, 8
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x40]
cmovae eax, edx
xor ecx, ecx
mov word [eax + edi*2], cx
movzx eax, word [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
cmp esi, 1
jne 0x426289
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x7ffffffe
je 0x4263e1
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0xd4]
push esi
push edx
push ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x88]
call fcn.0041b6c0
mov edi, dword [ebp - 0xdc]
lea eax, [ebp - 0x58]
or edi, 2
lea edx, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xdc], edi
call fcn.00419760
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x426262
mov ecx, eax
call fcn.004040c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb8]
call fcn.004040c0
and edi, 0xfffffffd
mov dword [ebp - 0xdc], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
jmp 0x42633c
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x7ffffffe
je 0x4263e1
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0xd4]
push 1
push edx
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push ecx
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x70]
call fcn.0041b6c0
mov edi, dword [ebp - 0xdc]
lea eax, [ebp - 0x40]
or edi, 1
lea edx, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xdc], edi
call fcn.00419760
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x42631d
mov ecx, eax
call fcn.004040c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd0]
call fcn.004040c0
and edi, 0xfffffffe
mov dword [ebp - 0xdc], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
call fcn.004040c0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x426399
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42638f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4263e6
push ecx
push edx
call fcn.004332cf
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x4260a9
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4260af
call fcn.00402cd0
call fcn.0043c8de
int3