Function at 0x100669e0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
mov eax, 0x1eca0
mov dword [ebp - 0xa0], 0x8c8952ab
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x80
mov dword [ebp - 0x90], 0x66
mov byte [ebp - 3], 0xb2
mov ecx, dword [0x100c3100]
mov edx, dword [0x100c3104]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x98], ecx
mov ax, word [0x100c30fc]
mov byte [ebp - 5], al
mov eax, dword [0x100c3108]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov cl, byte [0x100c30a0]
mov byte [ebp - 6], cl
mov edx, dword [0x100c30c0]
mov eax, dword [0x100c30c4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov byte [ebp - 2], 0x4d
mov byte [ebp - 7], 0x74
mov ecx, dword [0x100c30d0]
mov edx, dword [0x100c30d4]
mov dword [ebp - 0x54], edx
mov word [ebp - 0x1c], cx
mov eax, dword [0x100c30d0]
mov ecx, dword [0x100c30d4]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], eax
mov edx, dword [0x100c3110]
mov eax, dword [0x100c3114]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edx
mov cx, word [0x100c30b0]
mov byte [ebp - 8], cl
mov dword [ebp - 0x18], 0xa5
movsx eax, word [0x100c3118]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
movzx dx, byte [0x100c3063]
mov word [ebp - 0x20], dx
mov dword [ebp - 0x68], 0x26da7a85
mov byte [ebp - 9], 0x8a
mov al, byte [0x100c30a0]
mov byte [ebp - 1], al
xor ecx, ecx
mov dword [ebp - 0x40], 0xa9
mov dword [ebp - 0x3c], ecx
mov dx, word [0x100c30d8]
mov word [ebp - 0x24], dx
mov eax, dword [0x100c30d8]
mov ecx, dword [0x100c30dc]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], ecx
mov edx, 0x47a2
mov word [ebp - 0x28], dx
mov eax, dword [0x100c30c8]
mov ecx, dword [0x100c30cc]
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x2c], ax
mov byte [ebp - 0xa], 0xd5
xor edx, edx
mov dword [ebp - 0xb8], 0xd1
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x70], 0xdf
movzx eax, byte [0x100c3062]
mov dword [ebp - 0x74], eax
mov cl, byte [0x100c30f0]
mov byte [ebp - 0xb], cl
xor edx, edx
mov dword [ebp - 0xc0], 0xc5
mov dword [ebp - 0xbc], edx
mov eax, dword [0x100c30f0]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 0x7c
mov eax, dword [0x100c3108]
cdq
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov ecx, 0xfe03
mov word [ebp - 0x30], cx
mov edx, 0xa3016
mov dword [ebp - 0xd0], 0xe1006e96
mov dword [ebp - 0xcc], edx
mov eax, dword [0x100c310c]
mov byte [ebp - 0xc], al
mov ecx, dword [0x100c3110]
mov edx, dword [0x100c3114]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], ecx
mov eax, dword [0x100c30a8]
mov ecx, dword [0x100c30ac]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0xd], al
mov dx, word [0x100c30f0]
mov word [ebp - 0x34], dx
mov eax, 0xb31f
mov word [ebp - 0x38], ax
cmp dword [0x100c3108], 0
je 0x10066c79
mov cx, word [0x100c30b0]
mov edx, 1
imul eax, edx, 0x3c
mov byte [eax + 0x100c3c18], cl
xor ecx, ecx
mov dword [ebp - 0x40], 0xfb0b
mov dword [ebp - 0x3c], ecx
movsx eax, byte [ebp - 1]
cdq
mov ecx, dword [0x100c3098]
mov esi, dword [0x100c309c]
add ecx, eax
adc esi, edx
mov edx, dword [0x100c3098]
mov eax, dword [0x100c309c]
sub edx, ecx
sbb eax, esi
mov dword [0x100c3098], edx
mov dword [0x100c309c], eax
movsx eax, byte [0x100c3075]
cdq
mov ecx, dword [0x100c30d0]
mov edx, dword [0x100c30d4]
mov dword [ebp - 0x8c], edx
sub ecx, eax
mov byte [ebp - 2], cl
movsx eax, word [0x100c308c]
add eax, dword [ebp - 0x18]
mov word [0x100c308c], ax
jmp 0x10066d40
mov ecx, 0xd5
test ecx, ecx
je 0x10066d40
mov edx, dword [ebp - 0x50]
sub edx, 0x28107e33
mov byte [str.NDisablePerfBackoff], dl
movsx eax, word [0x100c30fc]
not eax
cdq
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
add ecx, eax
adc esi, edx
movsx eax, word [0x100c3118]
cdq
add eax, dword [0x100c30f0]
adc edx, dword [0x100c30f4]
and ecx, eax
and esi, edx
mov dword [0x100c3098], ecx
mov dword [0x100c309c], esi
movsx edx, word [0x100c308c]
add edx, 0x774504ce
jne 0x10066ce5
mov dword [ebp - 0x14], 1
jmp 0x10066cec
mov dword [ebp - 0x14], 0
movsx eax, byte [ebp - 1]
movzx ecx, word [0x100c30e0]
add ecx, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x18], eax
movzx eax, word [0x100c30e0]
cdq
mov edx, 0x6604ab82
sub edx, eax
mov byte [ebp - 3], dl
mov eax, 1
imul ecx, eax, 0x3d3a
movsx eax, byte [ecx + 0x100dfcd8]
cdq
mov ecx, dword [0x100c30e8]
mov esi, dword [0x100c30ec]
and ecx, eax
and esi, edx
mov dword [0x100c30e8], ecx
mov dword [0x100c30ec], esi
push str.C:NonExistentPath
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret