Function at 0x75a29a39
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
cmp word [eax], 0x25
jne 0x75a29a79
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x20]
inc eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
neg eax
sbb eax, eax
neg eax
jmp 0x75a29f87
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x7c], 0
jne 0x75a29a8a
xor eax, eax
jmp 0x75a29f86
push esi
lea esi, [edi + 0x18c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push dword [edi + 0x7c]
call fcn.75a29648
push esi
mov byte [ebp + 0xf], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x75bcc8ec], 0
mov esi, 0x759f5920
jne 0x75a29b11
lea eax, [edi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
test al, al
je 0x75a29b11
mov eax, dword [ebx]
push 0x759f56cc
push 0
push ebx
call dword [eax + 0x5c]
test eax, eax
jne 0x75a29b08
mov eax, dword [ebx]
push esi
push 0
push ebx
call dword [eax + 0x5c]
test eax, eax
je 0x75a29b11
mov eax, dword [edi]
push esi
push edi
mov dword [ebp - 4], 1
call dword [eax + 0x5c]
mov ebx, eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
test eax, eax
jne 0x75a29b0b
jmp 0x75a29b14
mov ebx, dword [ebp + 0x10]
mov byte [ebp + 0x13], 1
jmp 0x75a29b18
mov ebx, dword [ebp + 0x10]
mov byte [ebp + 0x13], 0
test byte [ebp - 4], 1
je 0x75a29b28
mov eax, dword [ebx]
and dword [ebp - 4], 0xfffffffe
push ebx
call dword [eax + 8]
cmp byte [ebp + 0x13], 0
je 0x75a29f7d
mov eax, dword [edi]
or dword [ebp - 4], 2
push esi
push edi
mov dword [ebp + 8], 1
call dword [eax + 0x5c]
mov ebx, eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
test eax, eax
je 0x75a29b90
or dword [ebp - 4], 4
push esi
lea ecx, [ebp - 8]
call fcn.759c6ec1
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x60]
cmp eax, 2
jne 0x75a29b8a
or dword [ebp - 4], 8
push 0x759f56cc
lea ecx, [ebp - 0xc]
call fcn.759c6ec1
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x60]
cmp eax, 1
je 0x75a29b90
mov byte [ebp + 0x13], 0
jmp 0x75a29b94
mov byte [ebp + 0x13], 1
test byte [ebp - 4], 8
je 0x75a29ba7
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
and dword [ebp - 4], 0xfffffff7
push eax
call dword [ecx + 8]
test byte [ebp - 4], 4
je 0x75a29bba
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
and dword [ebp - 4], 0xfffffffb
push eax
call dword [ecx + 8]
test byte [ebp - 4], 2
je 0x75a29bca
mov eax, dword [ebx]
and dword [ebp - 4], 0xfffffffd
push ebx
call dword [eax + 8]
cmp byte [ebp + 0x13], 0
je 0x75a29bd4
and dword [ebp + 8], 0
mov eax, dword [edi + 0x168]
and dword [ebp + 0x10], 0
test al, 0x10
je 0x75a29c10
test eax, 0x200
je 0x75a29bf2
mov dword [ebp + 0x10], 1
jmp 0x75a29c10
test eax, 0x1000
je 0x75a29c02
mov dword [ebp + 0x10], 3
jmp 0x75a29c10
test eax, 0x400
je 0x75a29c10
mov dword [ebp + 0x10], 2
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax]
mov ebx, dword [edi + 0x548]
push eax
call dword [ecx + 0xc]
push ebx
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 8]
mov eax, dword [edi + 0x60]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
test esi, esi
je 0x75a29c44
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, 0x759b7ff8
test bl, bl
je 0x75a29c70
xor eax, eax
cmp dword [0x75bc8ca8], eax
je 0x75a29c70
push eax
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x75a29fc8
push eax
push eax
push 9
call fcn.759c26bf
add esp, 0x30
mov ebx, 0x759f93cc
push ebx
lea ecx, [ebp + 8]
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x58]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
call fcn.759c6e99
mov eax, dword [eax]
push 0
push dword [ebp + 8]
lea ebx, [edi + 8]
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x75a29d20
cmp dword [0x75bc8ca8], 0
je 0x75a29d0d
mov ecx, dword [eax]
or dword [ebp - 4], 0x10
push 1
push 1
push eax
call dword [ecx + 0x48]
mov ecx, dword [eax]
push 0
push 0
push esi
push esi
push esi
push esi
push eax
mov dword [ebp + 8], eax
call dword [ecx + 0x20]
push eax
push 0x759f93cc
push 0x75a29f8c
push 0
push 0
push 0xa
call fcn.759c26bf
add esp, 0x30
test byte [ebp - 4], 0x10
je 0x75a29d20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and dword [ebp - 4], 0xffffffef
push eax
call dword [ecx + 8]
push 0x759f93a8
lea ecx, [ebp + 8]
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x58]
push eax
lea ecx, [ebp + 0x10]
call fcn.759c755e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push 0x759f93a8
lea ecx, [ebp - 0x14]
mov dword [ebp + 8], eax
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [ebx]
push 0
push dword [ebp + 8]
push eax
push ebx
call dword [ecx + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x75a29dd6
cmp dword [0x75bc8ca8], 0
je 0x75a29dc3
mov ecx, dword [eax]
or dword [ebp - 4], 0x20
push 1
push 1
push eax
call dword [ecx + 0x48]
mov ecx, dword [eax]
push 0
push 0
push esi
push esi
push esi
push esi
push eax
mov dword [ebp + 8], eax
call dword [ecx + 0x20]
push eax
push 0x759f93a8
push 0x75a29f8c
push 0
push 0
push 0xa
call fcn.759c26bf
add esp, 0x30
test byte [ebp - 4], 0x20
je 0x75a29dd6
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and dword [ebp - 4], 0xffffffdf
push eax
call dword [ecx + 8]
cmp byte [0x75bcca70], 0
je 0x75a29f5a
push 0x759f937c
lea ecx, [ebp + 8]
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x58]
push eax
lea ecx, [ebp + 0x10]
call fcn.759c755e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
push 0x759f937c
lea ecx, [ebp - 0x18]
mov dword [ebp + 8], eax
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [ebx]
push 0
push dword [ebp + 8]
push eax
push ebx
call dword [ecx + 0x28]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
test eax, eax
je 0x75a29e99
cmp dword [0x75bc8ca8], 0
je 0x75a29e86
mov ecx, dword [eax]
or dword [ebp - 4], 0x40
push 1
push 1
push eax
call dword [ecx + 0x48]
mov ecx, dword [eax]
push 0
push 0
push esi
push esi
push esi
push esi
push eax
mov dword [ebp - 0x1c], eax
call dword [ecx + 0x20]
push eax
push 0x759f937c
push 0x75a29f8c
push 0
push 0
push 0xa
call fcn.759c26bf
add esp, 0x30
test byte [ebp - 4], 0x40
je 0x75a29e99
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
and dword [ebp - 4], 0xffffffbf
push eax
call dword [ecx + 8]
push 0x759f9354
lea ecx, [ebp - 0x1c]
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x58]
push eax
lea ecx, [ebp + 0x10]
call fcn.759c755e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov edi, 0x759f9354
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call fcn.759c6e99
mov eax, dword [eax]
mov ecx, dword [ebx]
push 0
push dword [ebp - 0x1c]
push eax
push ebx
call dword [ecx + 0x28]
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x75a29f4d
cmp dword [0x75bc8ca8], 0
je 0x75a29f38
mov eax, dword [ebx]
or dword [ebp - 4], 0x80
push 1
push 1
push ebx
call dword [eax + 0x48]
mov ecx, dword [eax]
push 0
push 0
push esi
push esi
push esi
push esi
push eax
mov dword [ebp - 0x1c], eax
call dword [ecx + 0x20]
push eax
push edi
push 0x75a29f8c
push 0
push 0
push 0xa
call fcn.759c26bf
add esp, 0x30
test byte [ebp - 4], 0x80
je 0x75a29f47
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp + 8]
test eax, eax
je 0x75a29f5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x75a29f67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x75a29f74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp byte [ebp + 0xf], al
pop esi
setne al
pop edi
pop ebx
leave
ret 0xc