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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470a8c
mov eax, dword fs:[0]
push eax
mov eax, 0x2006c
call fcn.0045fba0
mov eax, dword [0x48f1ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x493c94], 0
jne 0x4353ea
push 0xffff
lea eax, [ebp - 0x20010]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor eax, eax
mov dword [ebp - 0x20030], 0
lea ecx, [ebp - 0x20010]
mov dword [ebp - 0x2002c], 7
mov word [ebp - 0x20040], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435130
sub ecx, edx
lea eax, [ebp - 0x20010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20040]
call fcn.00413d20
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20074], eax
cmp edi, eax
je 0x43537e
nop
push 1
push 0x47acdc
lea ecx, [ebp - 0x20040]
call fcn.0040bd60
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x43518c
mov eax, dword [edi]
push dword [edi + 0x10]
xor ecx, ecx
mov dword [ebp - 0x20018], 0
mov word [ebp - 0x20028], cx
lea ecx, [ebp - 0x20028]
push eax
mov dword [ebp - 0x20014], 7
call fcn.00413d20
cmp dword [ebp - 0x20014], 8
lea ebx, [ebp - 0x20028]
mov eax, dword [ebp - 0x20018]
cmovae ebx, dword [ebp - 0x20028]
mov byte [ebp - 4], 1
lea esi, [ebx + eax*2]
push esi
push ebx
call fcn.0040b000
add esp, 8
cmp eax, esi
je 0x435235
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4351f4
cmp ecx, 0x2f
jne 0x4351fd
add eax, 2
cmp eax, esi
jne 0x4351e7
jmp 0x435235
cmp eax, esi
je 0x435235
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x435218
cmp edx, 0x2f
je 0x435218
add esi, 0xfffffffe
cmp eax, esi
jne 0x435201
jmp 0x435235
cmp eax, esi
je 0x435235
nop dword [eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x43522e
cmp edx, 0x2f
jne 0x435235
add esi, 0xfffffffe
cmp eax, esi
jne 0x435220
sub esi, ebx
mov dword [ebp - 0x20048], 0
sar esi, 1
lea ecx, [ebp - 0x20058]
push esi
xor eax, eax
mov dword [ebp - 0x20044], 7
push ebx
mov word [ebp - 0x20058], ax
call fcn.00413d20
lea eax, [ebp - 0x20058]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x20070]
call fcn.00408620
cmp dword [ebp - 0x2005c], 8
lea eax, [ebp - 0x20070]
push dword [ebp - 0x20060]
cmovae eax, dword [ebp - 0x20070]
lea ecx, [ebp - 0x20040]
push eax
mov byte [ebp - 4], 3
call fcn.0040bd60
mov edx, dword [ebp - 0x2005c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4352e7
mov ecx, dword [ebp - 0x20070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4352dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435406
push edx
push ecx
call fcn.0045fc1f
add esp, 8
mov edx, dword [ebp - 0x20044]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x43532b
mov ecx, dword [ebp - 0x20058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435321
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435406
push edx
push ecx
call fcn.0045fc1f
add esp, 8
mov edx, dword [ebp - 0x20014]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x43536f
mov ecx, dword [ebp - 0x20028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435365
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435406
push edx
push ecx
call fcn.0045fc1f
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x20074]
jne 0x435170
cmp dword [ebp - 0x2002c], 8
lea eax, [ebp - 0x20040]
cmovae eax, dword [ebp - 0x20040]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x47ace0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x2002c]
mov dword [0x493c94], eax
cmp edx, 8
jb 0x4353ea
mov ecx, dword [ebp - 0x20040]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4353e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435406
push edx
push ecx
call fcn.0045fc1f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fc2d
mov esp, ebp
pop ebp
ret
call fcn.00461650
int3