Function at 0x100d74fd
Capabilities:
Set environment variable

Disassembly:
push 0xa4
mov eax, 0x10115519
call fcn.10062882
mov eax, dword [ebp + 8]
xor edx, edx
push 7
pop ebx
xor ecx, ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x70], cx
mov dword [ebp - 4], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x58], cx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.100d718f
mov edi, edx
xor ecx, ecx
mov esi, edi
mov ebx, eax
and esi, 0x80
or ecx, esi
je 0x100d7767
cmp dword [ebp - 0x48], 0x7fff
jbe 0x100d7648
push 0x1003acd8
lea ecx, [ebp - 0x8c]
call fcn.1004a302
mov dword [ebp - 0x74], 0x55
mov byte [ebp - 4], 2
call fcn.1006c112
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x2c], ebx
push 0x1003ae48
mov word [ebp - 0x40], ax
call fcn.1004a302
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1004a302
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.100810bd
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.100810bd
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x1001df4c
mov word [ebp - 0x28], ax
call fcn.1004a302
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
push 4
lea ecx, [ebp - 0x8c]
call fcn.10080cf0
lea ecx, [ebp - 0x28]
call fcn.1006ab66
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xac], 0x10002e5c
call fcn.1006ab66
lea ecx, [ebp - 0x40]
call fcn.1006ab66
lea ecx, [ebp - 0x8c]
call fcn.1006b464
call fcn.100d6aea
or eax, 0xb000a
or edx, 0xa0a
mov ebx, eax
mov edi, edx
jmp 0x100d7767
cmp byte [ebp + 0xc], 0
je 0x100d765c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
jb 0x100d765e
mov eax, dword [ebp - 0x58]
jmp 0x100d765e
xor eax, eax
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
jb 0x100d766a
mov ecx, dword [ebp - 0x70]
push eax
push ecx
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x100d7760
call dword [sym.imp.kernel32.dll_GetLastError]
push 0x1003acd8
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xb0], eax
call fcn.1004a302
mov dword [ebp - 0x74], 0x61
mov byte [ebp - 4], 6
call fcn.1006c112
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x1003af30
mov word [ebp - 0x28], ax
call fcn.1004a302
lea eax, [ebp - 0x28]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1004a302
mov esi, eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.1006de4d
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x2c], ebx
push 0x1001df4c
mov word [ebp - 0x40], ax
call fcn.1004a302
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
push 1
lea ecx, [ebp - 0x8c]
call fcn.10080cf0
lea ecx, [ebp - 0x40]
call fcn.1006ab66
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xac], 0x10002e5c
call fcn.1006ab66
lea ecx, [ebp - 0x28]
call fcn.1006ab66
lea ecx, [ebp - 0x8c]
call fcn.1006b464
call fcn.100d6aea
or eax, dword [ebp - 0xb0]
or edx, 0xc2a
jmp 0x100d763f
xor ebx, ebx
mov edi, 0x80
lea ecx, [ebp - 0x58]
call fcn.1006ab66
lea ecx, [ebp - 0x70]
call fcn.1006ab66
mov eax, ebx
mov edx, edi
call fcn.1006281a
ret 8