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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fb21
mov eax, dword fs:[0]
push eax
mov eax, 0x20074
call fcn.004655d0
mov eax, dword [0x4b0280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4b5b50], 0
jne 0x43a6b1
push 0xffff
lea eax, [ebp - 0x20010]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xorps xmm0, xmm0
mov dword [ebp - 0x20030], 0
lea ecx, [ebp - 0x20010]
mov dword [ebp - 0x2002c], 0
movups xmmword [ebp - 0x20040], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a3e0
sub ecx, edx
lea eax, [ebp - 0x20010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20040]
call fcn.00412370
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20078], eax
cmp edi, eax
je 0x43a645
nop
push 1
push 0x4966c0
lea ecx, [ebp - 0x20040]
call fcn.0040c370
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x43a43c
mov eax, dword [edi]
push dword [edi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x20018], 0
push eax
lea ecx, [ebp - 0x20028]
mov dword [ebp - 0x20014], 0
movups xmmword [ebp - 0x20028], xmm0
call fcn.00412370
cmp dword [ebp - 0x20014], 7
lea ecx, [ebp - 0x20028]
mov eax, dword [ebp - 0x20018]
cmova ecx, dword [ebp - 0x20028]
mov byte [ebp - 4], 1
mov dword [ebp - 0x20074], ecx
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.0040b790
add esp, 8
cmp eax, esi
je 0x43a4f5
nop
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x43a4ad
cmp ecx, 0x2f
jne 0x43a4b4
add eax, 2
cmp eax, esi
jne 0x43a4a0
cmp eax, esi
je 0x43a4f5
nop dword [eax + eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x43a4d7
cmp edx, 0x2f
je 0x43a4d7
add esi, 0xfffffffe
cmp eax, esi
jne 0x43a4c0
jmp 0x43a4f5
cmp eax, esi
je 0x43a4f5
nop dword [eax + eax]
movzx edx, word [esi - 2]
cmp edx, 0x5c
je 0x43a4ee
cmp edx, 0x2f
jne 0x43a4f5
add esi, 0xfffffffe
cmp eax, esi
jne 0x43a4e0
mov eax, dword [ebp - 0x20074]
lea ecx, [ebp - 0x20058]
sub esi, eax
mov dword [ebp - 0x20048], 0
sar esi, 1
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x20058], xmm0
mov dword [ebp - 0x20044], 0
call fcn.00412370
lea eax, [ebp - 0x20058]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x20070]
call fcn.00408ac0
cmp dword [ebp - 0x2005c], 7
lea eax, [ebp - 0x20070]
push dword [ebp - 0x20060]
cmova eax, dword [ebp - 0x20070]
lea ecx, [ebp - 0x20040]
push eax
mov byte [ebp - 4], 3
call fcn.0040c370
mov ecx, dword [ebp - 0x2005c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x43a5ae
mov edx, dword [ebp - 0x20070]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a5a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6cc
push ecx
push edx
call fcn.0046519a
add esp, 8
mov ecx, dword [ebp - 0x20044]
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x43a5f2
mov edx, dword [ebp - 0x20058]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a5e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6cc
push ecx
push edx
call fcn.0046519a
add esp, 8
mov ecx, dword [ebp - 0x20014]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x43a636
mov edx, dword [ebp - 0x20028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a62c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6cc
push ecx
push edx
call fcn.0046519a
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x20078]
jne 0x43a420
cmp dword [ebp - 0x2002c], 7
lea eax, [ebp - 0x20040]
cmova eax, dword [ebp - 0x20040]
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x4966c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x2002c]
mov dword [0x4b5b50], eax
cmp ecx, 7
jbe 0x43a6b1
mov edx, dword [ebp - 0x20040]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a6a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a6cc
push ecx
push edx
call fcn.0046519a
add esp, 8
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.004651a8
mov esp, ebp
pop ebp
ret
call fcn.0046ac2f
int3