Function at 0x100012cb
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1001d058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [0x1001f6f0]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x210], eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, 1
jne 0x10001313
push 0
push 0
push 0xa
push dword [0x1001f6f0]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1001f28c
push sym.kjtyynwg.dll_ys3xrltnhbVgXRIZ
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov esi, 0x104
test eax, eax
je 0x1000134f
movzx eax, byte [0x1001df64]
push eax
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_RegisterHotKey]
push esi
push ebx
push dword [0x1001f28c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [0x1001df5c], 0x73444c
mov dword [0x1001df4c], 0xffcedcc8
je 0x1000136f
mov dword [0x1001df5c], 1
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1000119c
mov al, byte [eax]
push ebx
push 0x100172d0
push esi
push dword [ebp - 0x210]
mov byte [0x1001f128], al
call fcn.10002286
add esp, 0x18
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.IndexerVolumeGuid
push ebx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [0x1001f6f4], eax
cmp eax, 0xffffffff
je 0x100013d7
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 0x210]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100013e0
sub eax, ecx
push esi
mov dword [edi], eax
mov edi, 0x1001f128
push edi
push 0x8d
push dword [0x1001f290]
call dword [sym.imp.USER32.dll_LoadStringA]
push edi
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
fild dword [0x1001df4c]
dec dword [0x1001df4c]
fmul dword [0x1001df54]
fsub qword [0x10017400]
fstp dword [ebp - 0x214]
fld dword [ebp - 0x214]
call fcn.1000dc00
fstp dword [ebp - 0x214]
push dword [ebp - 0x210]
fld dword [ebp - 0x214]
fmul dword [0x1001df48]
lea eax, [ebp - 0x20c]
push ebx
push str._s__S
push esi
fstp dword [0x1001df48]
push eax
call fcn.10001f1a
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0x10017304
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
movzx ebx, byte [0x1001df64]
push 8
call fcn.10001f00
mov esi, eax
mov eax, 0x100172a0
pop ecx
mov dword [esi], eax
test ebx, ebx
je 0x100014e7
push 0x2f
push eax
call fcn.10002ba0
pop ecx
pop ecx
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x100014b1
mov eax, dword [esi]
mov dword [ebp - 0x210], eax
mov esi, dword [esi]
mov eax, dword [ebp - 0x210]
sub eax, esi
add eax, 0x19
push eax
call fcn.10002611
mov edi, eax
sub edi, esi
add edi, dword [ebp - 0x210]
mov eax, str.ameknvwxvygrzr
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov dword [0x1001f294], eax
mov dword [0x1001df60], ebx
push 0x18
call fcn.10003251
mov dword [esp], fcn.100029d0
push 0x18
mov esi, eax
push 0xffffffffffffffff
lea eax, [esi + 8]
push 0x1001f298
push eax
mov dword [esi + 4], str.vpsrbyvuxfnz
call fcn.10002ae2
add esp, 0x14
test eax, eax
je 0x1000151b
mov al, byte [eax]
jmp 0x10001525
test byte [esi], 0x80
je 0x10001523
mov byte [esi], 3
mov al, 3
cmp byte [esi], al
jne 0x1000153c
push dword [esi + 4]
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [0x1001f6f4], eax
mov byte [esi], 0
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10001f0b
leave
ret