Function at 0x140034930
Capabilities:
Check os version
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x810]
sub rsp, 0x910
mov rax, qword [0x1405a9ae8]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov byte [rbp + 0x18], 0
lea r14, vtable.vmsCommandLine.0
mov qword [rbp + 0x10], r14
xor r15d, r15d
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
mov qword [rbp + 0x40], r15
movdqa xmm0, xmmword [0x140356b80]
movdqa xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov qword [rbp - 0x10], r15
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3e0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5f0]
call sub.VCRUNTIME140.dll_memset
lea r8d, [r15 + 7]
lea rdx, str.http:__
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140034a1c
movsd xmm0, qword [str.http]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x1403568d0]
mov word [rbp - 0x28], ax
jmp 0x140034a7a
mov r8d, 8
lea rdx, [0x1403568d8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x140034a4e
movsd xmm0, qword [str.https]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x1403568f8]
mov dword [rbp - 0x28], eax
jmp 0x140034a7a
mov r8d, 6
lea rdx, str.ftp:__
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400356d6
movabs rax, 0x7000740066
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0xa0]
call fcn.140030530
nop
cmp dword [rbp + 0xac], 6
jb 0x140034c5b
lea rcx, [rbp + 0x3e0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140034aa0
movaps xmm0, xmmword [str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_]
movups xmmword [rcx], xmm0
movaps xmm1, xmmword [0x140356920]
movups xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [0x140356930]
movups xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [0x140356940]
movups xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [0x140356950]
movups xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [0x140356960]
movups xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [0x140356970]
movups xmmword [rcx + 0x60], xmm0
movsd xmm1, qword [0x140356980]
movsd qword [rcx + 0x70], xmm1
mov eax, dword [0x140356988]
mov dword [rcx + 0x78], eax
movzx eax, word [0x14035698c]
mov word [rcx + 0x7c], ax
lea rcx, [rbp + 0x3e0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140034b22
lea r8, [rbp - 0x30]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140034b40
lea rax, [rbp + 0x3e0]
sub rax, 2
nop dword [rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140034b60
movups xmm0, xmmword [str.UserChoice]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1403569a0]
movsd qword [rax + 0x10], xmm1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1d0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x3e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400356af
mov dword [rsp + 0x30], 0x103
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProgId
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400356a4
mov eax, dword [rsp + 0x30]
add rax, rax
cmp rax, 0x208
jae 0x1400357cc
mov word [rbp + rax + 0x1d0], r15w
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp + 0x1d0], 0
je 0x1400356af
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x1d0]
mov word [rbp + rcx + 0x3e0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140034c40
jmp 0x140034c76
mov rcx, r15
nop
movzx eax, word [rbp + rcx - 0x30]
mov word [rbp + rcx + 0x3e0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140034c60
lea rax, [rbp + 0x3e0]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140034c81
movups xmm0, xmmword [str._shellopencommand]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1403569c8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1403569d8]
movsd qword [rax + 0x20], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x3e0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400356af
mov dword [rsp + 0x30], 0x103
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400356a4
mov eax, dword [rsp + 0x30]
add rax, rax
cmp rax, 0x208
jae 0x1400357c6
mov word [rbp + rax + 0x5f0], r15w
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbp + 0x5f0], 0
je 0x1400356af
xor r8d, r8d
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x10]
call fcn.140033180
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr]
lea rdx, [0x140356698]
lea rcx, [rbp + 0x5f0]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
je 0x1400356af
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov r12, 0xffffffffffffffff
mov r8, r12
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140034da0
lea rcx, [rbp - 0x10]
call fcn.140032f20
lea r11, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r11, qword [rbp - 0x10]
mov rax, qword [rbp]
cmp rax, 2
jb 0x1400351c9
dec rax
lea rbx, [r11 + rax*2]
mov rax, r11
lea rsi, [0x1403569e0]
mov rcx, rbx
sub rcx, rax
sar rcx, 1
mov rdx, r15
je 0x140034e0b
cmp word [rax], 0x25
je 0x140034e08
cmp rcx, 1
je 0x140034e0b
dec rcx
add rax, 2
cmp word [rax], 0x25
jne 0x140034df5
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x1400351c9
mov r9d, 2
mov rcx, rsi
movzx edx, word [rdx]
mov r8d, 0x25
cmp dx, r8w
jb 0x140034e57
mov r10, rax
sub r10, rsi
cmp dx, r8w
ja 0x140034e57
cmp r9, 1
je 0x140034e5d
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140034e39
add rax, 2
jmp 0x140034de1
sub rax, r11
sar rax, 1
cmp rax, r12
je 0x1400351c9
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov r8, r12
inc r8
cmp word [rdi + r8*2], 0
jne 0x140034e84
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140032f20
nop
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r15w
mov r8d, 2
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.140032f20
nop
mov r13, qword [rbp - 0x20]
mov r14, r13
mov qword [rsp + 0x40], r13
mov rbx, r15
mov rdi, qword [rbp + 0x70]
mov r15, qword [rbp + 0x60]
mov r12, qword [rbp + 0x78]
nop
lea r11, [rbp + 0x60]
cmp r12, 8
cmovae r11, r15
lea rsi, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rsi, qword [rbp - 0x10]
mov rax, qword [rbp]
cmp rdi, rax
ja 0x140034fe1
sub rax, rdi
cmp rbx, rax
ja 0x140034fe1
test rdi, rdi
je 0x140034fad
lea r14, [rax + 1]
lea r14, [rsi + r14*2]
lea rbx, [rsi + rbx*2]
movzx r10d, word [r11]
nop dword [rax]
mov rax, r14
sub rax, rbx
sar rax, 1
mov ecx, 0
je 0x140034f5c
cmp word [rbx], r10w
je 0x140034f59
cmp rax, 1
je 0x140034f5c
dec rax
add rbx, 2
cmp word [rbx], r10w
jne 0x140034f46
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140034fe1
mov r8, rdi
mov rax, r11
movzx ecx, word [rcx]
movzx edx, r10w
cmp cx, r10w
jb 0x140034f9c
mov r9, rbx
sub r9, r11
cmp cx, dx
ja 0x140034f9c
cmp r8, 1
je 0x140034fa2
dec r8
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140034f80
add rbx, 2
jmp 0x140034f30
sub rbx, rsi
sar rbx, 1
mov r14, qword [rsp + 0x40]
cmp rbx, 0xffffffffffffffff
je 0x140034fe1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x20], r13
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140034280
add rbx, r14
mov r13, qword [rbp - 0x20]
jmp 0x140034ee0
cmp r12, 8
mov r12, 0xffffffffffffffff
jb 0x14003502b
mov rdx, qword [rbp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140035022
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035022
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140322dc0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14003506e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035069
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035069
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140322dc0
lea r14, vtable.vmsCommandLine.0
xor r15d, r15d
mov rdi, qword [rsp + 0x48]
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
cmp word [rdx], 0x20
jne 0x1400350a0
add rdx, 2
cmp word [rdx], 0x20
je 0x140035091
nop dword [rax + rax]
inc r12
cmp word [rdx + r12*2], 0
jne 0x1400350a0
mov r8, r12
lea rcx, [rbp + 0x20]
call fcn.140032f20
mov r9, qword [rbp + 0x30]
test r9, r9
je 0x14003515d
nop dword [rax]
nop dword [rax + rax]
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x20]
mov r10, qword [rbp + 0x38]
cmp r10, 8
cmovae rax, rcx
cmp word [rax + r9*2 - 2], 0x20
jne 0x14003515d
lea r8, [rbp + 0x20]
cmp r10, 8
cmovae r8, rcx
add r8, 0xfffffffffffffffe
lea r8, [r8 + r9*2]
lea rax, [rbp + 0x20]
cmp r10, 8
cmovae rax, rcx
sub r8, rax
sar r8, 1
mov rax, r9
sub rax, r8
mov edx, 1
cmp rax, rdx
cmovb rdx, rax
lea rax, [rbp + 0x20]
cmp r10, 8
cmovae rax, rcx
lea rcx, [rax + r8*2]
sub r9, rdx
mov qword [rbp + 0x30], r9
sub r9, r8
lea r8, [r9*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
mov r9, qword [rbp + 0x30]
test r9, r9
jne 0x1400350d0
mov rax, qword [rbp + 0x10]
mov dl, 1
lea rcx, [rbp + 0x10]
call qword [rax + 0x18]
nop
lea rax, vtable.vmsWinOsVersion.0
mov qword [rbp + 0x1d0], rax
xor edx, edx
mov r8d, 0x11c
lea rcx, [rbp + 0x1d8]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x1d8], 0x11c
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x1d8]
test rax, rax
je 0x140035214
call rax
test eax, eax
sete al
jmp 0x14003521f
mov r8d, 2
lea rdx, [0x1403569e8]
lea rcx, [rbp - 0x10]
call fcn.140032da0
mov r8, r12
inc r8
cmp word [rdi + r8*2], 0
jne 0x1400351e2
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140032da0
mov r8d, 1
lea rdx, [0x140356778]
lea rcx, [rbp - 0x10]
call fcn.140032da0
jmp 0x14003507d
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
setne al
test al, al
je 0x140035241
mov eax, dword [rbp + 0x1dc]
cmp eax, 0xa
jne 0x140035244
cmp dword [rbp + 0x1e4], 0x55f0
jb 0x140035244
mov eax, 0xb
jmp 0x140035244
mov eax, r15d
cmp eax, 6
jb 0x14003554f
lea rsi, vtable.ATL::CAccessToken.0
mov qword [rbp - 0x30], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14003551a
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x30]
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
mov qword [rbp - 0x28], rcx
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x48], r15d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
cmp dword [rsp + 0x40], 0
setne bl
mov qword [rbp - 0x30], rsi
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400352ee
test rcx, rcx
je 0x1400352ea
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], r15
test rcx, rcx
je 0x1400352fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r15
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140322dc0
test bl, bl
je 0x14003554f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400347a0
nop
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.140034120
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000000
xor r8d, r8d
xor ecx, ecx
call fcn.140031cd0
nop
mov rdx, qword [rbp + 0x78]
test al, al
je 0x1400354e0
cmp rdx, 8
jb 0x1400353d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400353cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035513
call fcn.140322dc0
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r15w
lea rax, vtable.vmsOsVersionBase.0
mov qword [rbp + 0xa0], rax
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140035433
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003542e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003542e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140322dc0
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
mov qword [rbp + 0x10], r14
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140035484
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003547f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400354d9
call fcn.140322dc0
movdqa xmm0, xmmword [0x140356b80]
movdqa xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140035674
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003566f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003566f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp rdx, 8
jb 0x14003554f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003554a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003554a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
test rdx, rdx
je 0x140035536
test rcx, rcx
je 0x140035541
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140035541
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140322dc0
mov qword [rbp + 0x98], r15
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140030de0
test al, al
je 0x1400356af
lea rax, vtable.vmsOsVersionBase.0
mov qword [rbp + 0xa0], rax
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1400355cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400355c8
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003570d
call fcn.140322dc0
mov word [rbp - 0x10], r15w
mov qword [rbp + 8], 7
mov qword [rbp], r15
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
mov qword [rbp + 0x10], r14
jb 0x140035622
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14003561d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400357bf
call fcn.140322dc0
movdqa xmm0, xmmword [0x140356b80]
movdqa xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140035674
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003566f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400357bf
call fcn.140322dc0
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.1403230f0
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
lea rdx, [0x1403566b8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14003557f
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140035719
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035714
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140322dc0
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
mov qword [rbp + 0x10], r14
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14003576a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035765
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400357bf
call fcn.140322dc0
movdqa xmm0, xmmword [0x140356b80]
movdqa xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140035674
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003566f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003566f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1403235e0
int3
call fcn.1403235e0
int3