Function at 0x180226650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x5c8], rbx
mov rax, qword [0x1804400b0]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r15, r8
mov ebx, edx
mov rdi, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
test edx, edx
je 0x180226b6d
movzx r9d, bx
imul r12d, r9d, 0x10001
mov dword [rbp - 0x30], 0x790053
mov dword [rbp - 0x2c], 0x740073
mov dword [rbp - 0x28], 0x6d0065
mov dword [rbp - 0x24], 0x43005c
mov dword [rbp - 0x20], 0x720075
mov dword [rbp - 0x1c], 0x650072
mov dword [rbp - 0x18], 0x74006e
mov dword [rbp - 0x14], 0x6f0043
mov dword [rbp - 0x10], 0x74006e
mov dword [rbp - 0xc], 0x6f0072
mov dword [rbp - 8], 0x53006c
mov dword [rbp - 4], 0x740065
mov dword [rbp], 0x43005c
mov dword [rbp + 4], 0x6e006f
mov dword [rbp + 8], 0x720074
mov dword [rbp + 0xc], 0x6c006f
mov dword [rbp + 0x10], 0x4b005c
mov dword [rbp + 0x14], 0x790065
mov dword [rbp + 0x18], 0x6f0062
mov dword [rbp + 0x1c], 0x720061
mov dword [rbp + 0x20], 0x200064
mov dword [rbp + 0x24], 0x61004c
mov dword [rbp + 0x28], 0x6f0079
mov dword [rbp + 0x2c], 0x740075
mov dword [rbp + 0x30], 0x73
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x18037a1b0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], ax
cmp edx, r12d
cmovne r9d, edx
lea r8, [rbp - 0x30]
lea rdx, str._s_08x
lea rcx, [rbp - 0x50]
call fcn.1801c1ae0
mov rcx, qword [rdi]
test rcx, rcx
je 0x180226b5f
lea rdx, str.RegOpenKeyExW
call qword [0x180301720]
mov rsi, rax
lea rdx, str.RegQueryValueExW
mov rcx, qword [rdi]
call qword [0x180301720]
mov r14, rax
lea rdx, str.RegCloseKey
mov rcx, qword [rdi]
call qword [0x180301720]
mov r13, rax
test rsi, rsi
je 0x180226b5f
test r14, r14
je 0x180226b5f
test rax, rax
je 0x180226b5f
xor edi, edi
mov qword [rsp + 0x60], rdi
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call rsi
test eax, eax
jne 0x180226b5f
test ebx, 0xffff0000
cmove ebx, r12d
mov dword [r15], ebx
mov dword [rsp + 0x6c], edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call fcn.180281a60
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, [0x180350590]
mov rcx, qword [rsp + 0x60]
call r14
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], di
lea rax, [rbp + 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x1802268a1
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.180033990
nop
mov r12, qword [rbp - 0x60]
test r12, r12
je 0x180226a59
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x18037a1b0]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], di
mov r8d, 0xb
lea rdx, str.Shell32.dll
lea rcx, [rsp + 0x38]
call fcn.180033990
nop
call fcn.1801d4f50
mov rcx, rax
lea rdx, [rsp + 0x38]
call fcn.1801d4ff0
mov rdi, rax
lea rcx, [rsp + 0x38]
call fcn.180033900
test rdi, rdi
je 0x1802269ac
lea rdx, str.SHGetFolderPathW
mov rcx, rdi
call qword [0x180301720]
mov rdi, rax
test rax, rax
je 0x1802269ac
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x250]
call fcn.180281a60
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call rdi
test eax, eax
jne 0x1802269ac
lea rax, [rbp + 0x250]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180226990
lea rdx, [rbp + 0x250]
lea rcx, [rsp + 0x70]
call fcn.180033990
mov edx, 0x10
lea rcx, [rsp + 0x70]
call fcn.1801c0940
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x18037a1b0]
movdqu xmmword [rsp + 0x48], xmm1
xor eax, eax
mov word [rsp + 0x38], ax
mov esi, 1
mov dword [rsp + 0x30], esi
mov rdi, qword [rbp - 0x80]
lea rdx, [rdi + r12]
lea rcx, [rsp + 0x38]
call fcn.180062d90
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, rdi
lea rcx, [rsp + 0x38]
call fcn.180033c60
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, r12
lea rcx, [rsp + 0x38]
call fcn.180033c60
lea rcx, [r15 + 8]
lea rdx, [rsp + 0x38]
call fcn.180037b40
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x38]
call fcn.180033900
nop
lea rcx, [rsp + 0x70]
call fcn.180033900
xor edi, edi
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, [0x180350490]
mov rcx, qword [rsp + 0x60]
call r14
test eax, eax
jne 0x180226b00
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x18037a1b0]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], di
lea rax, [rbp + 0x40]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180226ab0
mov r8, rbx
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.180033990
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.180226ba0
nop
lea rcx, [r15 + 0x28]
mov rdx, rax
call fcn.180037b40
nop
lea rcx, [rsp + 0x70]
call fcn.180033900
nop
lea rcx, [rsp + 0x38]
call fcn.180033900
jmp 0x180226b4a
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, [0x1803505a8]
mov rcx, qword [rsp + 0x60]
call r14
lea rax, [rbp + 0x40]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180226b30
lea rcx, [r15 + 0x28]
mov r8, rbx
lea rdx, [rbp + 0x40]
call fcn.180033990
mov rcx, qword [rsp + 0x60]
call r13
mov bl, 1
lea rcx, [rbp - 0x70]
call fcn.180033900
jmp 0x180226b61
xor bl, bl
lea rcx, [rbp - 0x50]
call fcn.180033900
movzx eax, bl
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.18027ebd0
mov rbx, qword [rsp + 0x5c8]
add rsp, 0x570
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret