Function at 0x140035840
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get file attributes
Query or enumerate registry value
Resume thread
Set environment variable
Set registry value
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x42e8
call fcn.14014a550
sub rsp, rax
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rbp + 0x4260], rax
mov dword [rbp + 0x64], 0
lea rax, [rbp + 0x8f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0xa00]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0xb10]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0xc20]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0x1260]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
lea rax, [rbp + 0x540]
mov rdi, rax
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosb byte [rdi], al
mov dword [rbp + 0x250], WSAGetLastError
lea rax, [rbp + 0x250]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x460]
call fcn.140037250
mov rcx, rax
call fcn.140037040
mov rdx, rax
mov rcx, qword [rsp + 0x4308]
call fcn.140062c60
mov rcx, rax
call fcn.140062360
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0x8f0]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0xd8]
movzx eax, byte [rax]
mov byte [rbp], al
mov rax, qword [rbp + 0xa0]
movzx ecx, byte [rbp]
mov byte [rax], cl
mov rax, qword [rbp + 0xd8]
inc rax
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xa0]
inc rax
mov qword [rbp + 0xa0], rax
cmp byte [rbp], 0
jne 0x140035996
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 9]
movzx r8d, byte [rbp + 0xa]
movzx edx, byte [rbp + 0xb]
lea rcx, [rbp + 0x3c0]
call fcn.1400372d0
mov rcx, rax
call fcn.140036ba0
mov rdx, rax
mov rcx, qword [rsp + 0x4308]
call fcn.140062c60
mov rcx, rax
call fcn.140062360
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0xa00]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0xe0]
movzx eax, byte [rax]
mov byte [rbp + 1], al
mov rax, qword [rbp + 0xa8]
movzx ecx, byte [rbp + 1]
mov byte [rax], cl
mov rax, qword [rbp + 0xe0]
inc rax
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xa8]
inc rax
mov qword [rbp + 0xa8], rax
cmp byte [rbp + 1], 0
jne 0x140035a65
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xc]
movzx r8d, byte [rbp + 0xd]
movzx edx, byte [rbp + 0xe]
lea rcx, [rbp + 0x2c0]
call fcn.140037320
mov rcx, rax
call fcn.140036ba0
mov rdx, rax
mov rcx, qword [rsp + 0x4308]
call fcn.140062c60
mov rcx, rax
call fcn.140062360
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0xb10]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0xe8]
movzx eax, byte [rax]
mov byte [rbp + 2], al
mov rax, qword [rbp + 0xb0]
movzx ecx, byte [rbp + 2]
mov byte [rax], cl
mov rax, qword [rbp + 0xe8]
inc rax
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xb0]
inc rax
mov qword [rbp + 0xb0], rax
cmp byte [rbp + 2], 0
jne 0x140035b34
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xf]
movzx r8d, byte [rbp + 0x10]
movzx edx, byte [rbp + 0x11]
lea rcx, [rbp + 0x2d0]
call fcn.140037370
mov rcx, rax
call fcn.140036ba0
mov rdx, rax
mov rcx, qword [rsp + 0x4308]
call fcn.140062c60
mov rcx, rax
call fcn.140062360
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0xc20]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0xf0]
movzx eax, byte [rax]
mov byte [rbp + 3], al
mov rax, qword [rbp + 0xb8]
movzx ecx, byte [rbp + 3]
mov byte [rax], cl
mov rax, qword [rbp + 0xf0]
inc rax
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xb8]
inc rax
mov qword [rbp + 0xb8], rax
cmp byte [rbp + 3], 0
jne 0x140035c03
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x12]
movzx r8d, byte [rbp + 0x13]
movzx edx, byte [rbp + 0x14]
lea rcx, [rbp + 0x2e0]
call fcn.1400373c0
mov rcx, rax
call fcn.140036ba0
mov rdx, rax
mov rcx, qword [rsp + 0x4308]
call fcn.140062c60
mov rcx, rax
call fcn.140062360
mov qword [rbp + 0xf8], rax
lea rax, [rbp + 0x1260]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0xf8]
movzx eax, byte [rax]
mov byte [rbp + 4], al
mov rax, qword [rbp + 0x78]
movzx ecx, byte [rbp + 4]
mov byte [rax], cl
mov rax, qword [rbp + 0xf8]
inc rax
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x78]
inc rax
mov qword [rbp + 0x78], rax
cmp byte [rbp + 4], 0
jne 0x140035ccc
lea rax, [rbp + 0x15]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x16]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x17]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x15]
movzx r8d, byte [rbp + 0x16]
movzx edx, byte [rbp + 0x17]
lea rcx, [rbp + 0x2f0]
call fcn.140037410
mov rcx, rax
call fcn.140036ba0
mov rdx, rax
mov rcx, qword [rsp + 0x4308]
call fcn.140062c60
mov rcx, rax
call fcn.140062360
mov qword [rbp + 0x100], rax
lea rax, [rbp + 0x540]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
mov byte [rbp + 5], al
mov rax, qword [rbp + 0x80]
movzx ecx, byte [rbp + 5]
mov byte [rax], cl
mov rax, qword [rbp + 0x100]
inc rax
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x80]
inc rax
mov qword [rbp + 0x80], rax
cmp byte [rbp + 5], 0
jne 0x140035d92
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rbp + rax + 0x540]
test eax, eax
jne 0x140035e0f
call fcn.140005d70
mov qword [rbp + 0x108], rax
lea rdx, str.You_forgot_to_set_the_AppId._n
mov rcx, qword [rbp + 0x108]
call fcn.14000bec0
xor al, al
jmp 0x140036b82
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x19]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x18]
movzx r8d, byte [rbp + 0x19]
movzx edx, byte [rbp + 0x1a]
lea rcx, [rbp + 0x300]
call fcn.140037460
mov rcx, rax
call fcn.140036ba0
lea rdx, [rbp + 0x540]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rax, [rbp + 0x1b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1b]
movzx r8d, byte [rbp + 0x1c]
movzx edx, byte [rbp + 0x1d]
lea rcx, [rbp + 0x310]
call fcn.1400374b0
mov rcx, rax
call fcn.140036ba0
lea rdx, [rbp + 0x540]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor r9d, r9d
lea r8, [rbp + 0x7e0]
mov edx, 0x104
lea rcx, [rbp + 0x8f0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor r9d, r9d
lea r8, [rbp + 0x6d0]
mov edx, 0x104
lea rcx, [rbp + 0xa00]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor r9d, r9d
lea r8, [rbp + 0x5c0]
mov edx, 0x104
lea rcx, [rbp + 0xb10]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor r9d, r9d
lea r8, [rbp + 0xd30]
mov edx, 0x104
lea rcx, [rbp + 0xc20]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140035f7b
call fcn.140005d70
mov qword [rbp + 0x110], rax
lea rdx, str.Couldnt_find_the_requested_SteamClient64Dll._n
mov rcx, qword [rbp + 0x110]
call fcn.14000bec0
xor al, al
jmp 0x140036b82
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140035fb3
call fcn.140005d70
mov qword [rbp + 0x118], rax
lea rdx, str.Couldnt_find_the_requested_SteamClientDll._n
mov rcx, qword [rbp + 0x118]
call fcn.14000bec0
xor al, al
jmp 0x140036b82
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140035feb
call fcn.140005d70
mov qword [rbp + 0x120], rax
lea rdx, str.Couldnt_find_the_requested_Exe_file._n
mov rcx, qword [rbp + 0x120]
call fcn.14000bec0
xor al, al
jmp 0x140036b82
lea rax, [rbp + 0x1e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1e]
movzx r8d, byte [rbp + 0x1f]
movzx edx, byte [rbp + 0x20]
lea rcx, [rbp + 0x320]
call fcn.140037500
mov rcx, rax
call fcn.140036ba0
lea rcx, [rbp + 0x1260]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x5c0]
mov r8, rax
mov edx, 0x2000
lea rcx, [rbp + 0x2260]
call fcn.1400357e0
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rbp + rax + 0x5c0]
test eax, eax
je 0x1400360d4
lea rax, [rbp + 0x208]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x250]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xd30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2260]
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400360fa
call fcn.140005d70
mov qword [rbp + 0x128], rax
lea rdx, str.Unable_to_load_the_requested_EXE_file.
mov rcx, qword [rbp + 0x128]
call fcn.14000bec0
xor al, al
jmp 0x140036b82
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x60], eax
mov dword [rbp + 0x70], 4
lea rax, [rbp + 0xe40]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rbp + 0x1050]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rbp + 0x68], 0x208
mov dword [rbp + 0x6c], 0x208
lea rax, [rbp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x21]
movzx r8d, byte [rbp + 0x22]
movzx edx, byte [rbp + 0x23]
lea rcx, [rbp + 0x500]
call fcn.140037550
mov rcx, rax
call fcn.140036ce0
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003628b
lea rax, [rbp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x24]
movzx r8d, byte [rbp + 0x25]
movzx edx, byte [rbp + 0x26]
lea rcx, [rbp + 0x480]
call fcn.140037550
mov rcx, rax
call fcn.140036ce0
mov qword [rsp + 0x40], 0
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140036286
call fcn.140005d70
mov qword [rbp + 0x130], rax
lea rdx, str.Unable_to_patch_Steam_process_informations_on_the_Windows_registry._n
mov rcx, qword [rbp + 0x130]
call fcn.14000bec0
xor edx, edx
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
jmp 0x140036b82
jmp 0x1400363ba
mov dword [rbp + 0x64], 1
lea rax, [rbp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x27]
movzx r8d, byte [rbp + 0x28]
movzx edx, byte [rbp + 0x29]
lea rcx, [rbp + 0x330]
call fcn.1400372d0
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x140], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rax, [rbp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x2a]
movzx r8d, byte [rbp + 0x2b]
movzx edx, byte [rbp + 0x2c]
lea rcx, [rbp + 0x3e0]
call fcn.140037600
mov rcx, rax
call fcn.140037040
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1050]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rax, [rbp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x2f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x2d]
movzx r8d, byte [rbp + 0x2e]
movzx edx, byte [rbp + 0x2f]
lea rcx, [rbp + 0x340]
call fcn.140037680
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x160], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x30]
movzx r8d, byte [rbp + 0x31]
movzx edx, byte [rbp + 0x32]
lea rcx, [rbp + 0x350]
call fcn.1400376d0
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x170], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14003658b
lea rax, [rbp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x35]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x33]
movzx r8d, byte [rbp + 0x34]
movzx edx, byte [rbp + 0x35]
lea rcx, [rbp + 0x360]
call fcn.1400372d0
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x180], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x140036666
lea rax, [rbp + 0x6d0]
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x88], 0xffffffffffffffff
inc qword [rbp + 0x88]
mov rax, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x88]
cmp byte [rax + rcx], 0
jne 0x1400365a4
mov rax, qword [rbp + 0x88]
inc rax
mov dword [rbp + 0xc0], eax
lea rax, [rbp + 0x36]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x37]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x36]
movzx r8d, byte [rbp + 0x37]
movzx edx, byte [rbp + 0x38]
lea rcx, [rbp + 0x370]
call fcn.1400372d0
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x198], rax
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x6d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rbp + 0x7e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140036713
lea rax, [rbp + 0x39]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x39]
movzx r8d, byte [rbp + 0x3a]
movzx edx, byte [rbp + 0x3b]
lea rcx, [rbp + 0x400]
call fcn.140037600
mov rcx, rax
call fcn.140037040
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x1a8], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1400367ee
lea rax, [rbp + 0x7e0]
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x90], 0xffffffffffffffff
inc qword [rbp + 0x90]
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rbp + 0x90]
cmp byte [rax + rcx], 0
jne 0x14003672c
mov rax, qword [rbp + 0x90]
inc rax
mov dword [rbp + 0xc4], eax
lea rax, [rbp + 0x3c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x3e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3c]
movzx r8d, byte [rbp + 0x3d]
movzx edx, byte [rbp + 0x3e]
lea rcx, [rbp + 0x420]
call fcn.140037600
mov rcx, rax
call fcn.140037040
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x1c0], rax
mov eax, dword [rbp + 0xc4]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x7e0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rax, [rbp + 0x3f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x43]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x44]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x45]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x46]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x47]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x3f]
movzx r8d, byte [rbp + 0x40]
movzx edx, byte [rbp + 0x41]
lea rcx, [rbp + 0x380]
call fcn.140037770
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x98], 0xffffffffffffffff
inc qword [rbp + 0x98]
mov rax, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x98]
cmp byte [rax + rcx], 0
jne 0x1400368b2
mov rax, qword [rbp + 0x98]
inc rax
mov dword [rbp + 0xc8], eax
movzx r9d, byte [rbp + 0x42]
movzx r8d, byte [rbp + 0x43]
movzx edx, byte [rbp + 0x44]
lea rcx, [rbp + 0x390]
call fcn.140037770
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x1d0], rax
movzx r9d, byte [rbp + 0x45]
movzx r8d, byte [rbp + 0x46]
movzx edx, byte [rbp + 0x47]
lea rcx, [rbp + 0x3a0]
call fcn.140037720
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x1e0], rax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x64], 0
je 0x140036b80
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x48]
movzx r8d, byte [rbp + 0x49]
movzx edx, byte [rbp + 0x4a]
lea rcx, [rbp + 0x4c0]
call fcn.140037550
mov rcx, rax
call fcn.140036ce0
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140036b80
lea rax, [rbp + 0x4b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x68]
mov dword [rbp + 0xcc], eax
movzx r9d, byte [rbp + 0x4b]
movzx r8d, byte [rbp + 0x4c]
movzx edx, byte [rbp + 0x4d]
lea rcx, [rbp + 0x3b0]
call fcn.1400372d0
mov rcx, rax
call fcn.140036ba0
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x1f0], rax
mov eax, dword [rbp + 0xcc]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xe40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rax, [rbp + 0x4e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x4f]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, dword [rbp + 0x6c]
mov dword [rbp + 0xd0], eax
movzx r9d, byte [rbp + 0x4e]
movzx r8d, byte [rbp + 0x4f]
movzx edx, byte [rbp + 0x50]
lea rcx, [rbp + 0x440]
call fcn.140037600
mov rcx, rax
call fcn.140037040
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x200], rax
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1050]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x200]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x4260]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x42e8
pop rdi
pop rbp
ret