Function at 0x1001e19a
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063165
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001e435
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x38], 0x43fb
mov dword [ebp - 0x40], str.ugocfnjz_qfodhyln_izzm
cmp dword [ebp - 0x38], 0x4736
jle 0x1001e270
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
and dword [ebp - 0x18], 0
jmp 0x1001e20b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3429
jge 0x1001e266
and dword [ebp - 0x1c], 0
jmp 0x1001e221
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x702f
jge 0x1001e264
and dword [ebp - 0x20], 0
jmp 0x1001e237
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3ff
jge 0x1001e262
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x1007f278
call fcn.1000b2a8
jmp 0x1001e230
jmp 0x1001e21a
jmp 0x1001e204
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea eax, [ebp + 0x10]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x423b
jge 0x1001e290
mov edx, dword [ebp - 0x40]
mov ecx, 0x1007f278
call fcn.1000ee32
jmp 0x1001e2ac
or dword [ebp - 4], 0xffffffff
jmp 0x1001e2b6
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1001e3dd
mov dword [ebp - 0x3c], 0x63bf
mov dword [ebp - 0x48], str.gru_lrle_aonjbovlr_mfklkrep_esndhuw_agxibm_utjer_mwy_ksfdda
cmp dword [ebp - 0x3c], 0x6562
jle 0x1001e370
and dword [ebp - 0x2c], 0
jmp 0x1001e2ec
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x2d12
jge 0x1001e365
and dword [ebp - 0x30], 0
jmp 0x1001e302
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2e29
jge 0x1001e363
and dword [ebp - 0x24], 0
jmp 0x1001e318
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5c4a
jge 0x1001e361
and dword [ebp - 0x28], 0
jmp 0x1001e32e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2169
jge 0x1001e35f
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x30]
and eax, edx
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov ecx, 0x1007f278
call fcn.1000b2a8
jmp 0x1001e327
jmp 0x1001e311
jmp 0x1001e2fb
jmp 0x1001e2e5
push 0x14b7
call dword [sym.imp.USER32.dll_GetKeyboardType]
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x11]
push eax
push 0x2f4
push 1
push 0x4291
push 0
push 0x7518
push 0x7378
call fcn.1001dc47
add esp, 0x1c
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x5ffa
jge 0x1001e3b5
mov edx, dword [ebp - 0x48]
mov ecx, 0x1007f278
call fcn.1000ee32
jmp 0x1001e3d1
or dword [ebp - 4], 0xffffffff
jmp 0x1001e3db
jmp 0x1001e433
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 5
jmp 0x1001e40b
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0xffffffe4
jg 0x1001e433
push 0
push dword [ebp - 0x5c]
push 0x5264
push 0x6111
push 0x617d
push 0
call fcn.10019f3f
add esp, 0x18
jmp 0x1001e400
jmp 0x1001e45b
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x60]
push 0x999
push 0
push dword [ebp - 0x64]
push 0x7848
call fcn.1001d7e1
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret