Function at 0x18001a4c0
Capabilities:
Contain obfuscated stackstrings
Delete registry key
Encode data using xor

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 - 0x30]
sub rsp, 0x130
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, rcx
mov dword [rsp + 0x40], 0x3433223b
mov dword [rsp + 0x44], 0x303f7435
mov word [rsp + 0x48], 0x31
xor edi, edi
mov eax, edi
movsxd rcx, eax
lea rdx, [rsp + 0x40]
add rdx, rcx
lea ecx, [rax + 0x55]
xor byte [rdx], cl
inc eax
cmp eax, 9
jb 0x18001a510
mov byte [rsp + 0x49], dil
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x18001aadf
mov dword [rsp + 0x50], 0xf304f309
mov dword [rsp + 0x54], 0xf33ff332
mov dword [rsp + 0x58], 0xf329f330
mov dword [rsp + 0x5c], 0xf32ef32f
mov dword [rsp + 0x60], 0xf302f324
mov dword [rsp + 0x64], 0xf301f312
mov dword [rsp + 0x68], 0xf30af302
mov dword [rsp + 0x6c], 0xf30af30a
mov dword [rsp + 0x70], 0xf33af300
mov dword [rsp + 0x74], 0xf311f334
mov dword [rsp + 0x78], 0xf31ef31a
mov dword [rsp + 0x7c], 0xf301f30e
mov dword [rbp - 0x80], 0xf32df331
mov dword [rbp - 0x7c], 0xf302f31a
mov dword [rbp - 0x78], 0xf317f303
mov dword [rbp - 0x74], 0xf300f31d
mov dword [rbp - 0x70], 0xf319f336
mov dword [rbp - 0x6c], 0xf30cf319
mov dword [rbp - 0x68], 0xf315f30b
mov dword [rbp - 0x64], 0xf32ff317
mov dword [rbp - 0x60], 0xf30af318
mov dword [rbp - 0x5c], 0xf3d3f323
mov dword [rbp - 0x58], 0xf3f0f3e4
mov dword [rbp - 0x54], 0xf3edf3f5
mov dword [rbp - 0x50], 0xf3e3f3e6
mov dword [rbp - 0x4c], 0xf3d4f3f4
xor eax, eax
mov word [rbp - 0x48], ax
mov edx, edi
mov r8d, 0xcab
nop dword [rax]
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
xor word [rcx], ax
inc edx
cmp edx, 0x34
jb 0x18001a620
mov word [rbp - 0x48], di
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
mov rbx, r8
inc rbx
cmp word [rax + rbx*2], di
jne 0x18001a650
mov r12, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, rbx
jb 0x18001ab12
mov r13, rsi
cmp qword [rsi + 0x18], 8
jb 0x18001a683
mov r13, qword [rsi]
mov qword [rbp - 0x10], rdi
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
lea r15, [r12 + rbx]
mov edi, 7
lea r14, [rbp - 0x10]
lea eax, [rdi + 3]
cmp r15, rdi
jbe 0x18001a6d3
mov rdi, r15
or rdi, 7
cmp rdi, rcx
jbe 0x18001a6b5
mov rdi, rcx
jmp 0x18001a6bc
cmp rdi, rax
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
cmovb rdx, r8
call fcn.180006600
mov r14, rax
mov qword [rbp - 0x10], rax
mov qword [rbp], r15
mov qword [rbp + 8], rdi
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + r14]
lea r8, [r12 + r12]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
xor r13d, r13d
mov word [r14 + r15*2], r13w
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x50], 0xf30ff306
mov dword [rsp + 0x54], 0xf30cf304
mov dword [rsp + 0x58], 0xf317f31c
mov dword [rsp + 0x5c], 0xf31ff307
mov dword [rsp + 0x60], 0xf32cf328
mov dword [rsp + 0x64], 0xf305f32d
mov dword [rsp + 0x68], 0xf316f30f
mov dword [rsp + 0x6c], 0xf30bf320
mov dword [rsp + 0x70], 0xf312f30b
mov dword [rsp + 0x74], 0xf307f315
mov dword [rsp + 0x78], 0xf339f305
mov dword [rsp + 0x7c], 0xf318f30e
mov dword [rbp - 0x80], 0xf33df331
mov dword [rbp - 0x7c], 0xf302f30a
mov dword [rbp - 0x78], 0xf31bf307
mov dword [rbp - 0x74], 0xf311f310
mov dword [rbp - 0x70], 0xf32af306
xor eax, eax
mov word [rbp - 0x6c], ax
mov edx, r13d
mov r8d, 0xcab
movsxd rax, edx
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
xor word [rcx], ax
inc edx
cmp edx, 0x22
jb 0x18001a7b0
mov word [rbp - 0x6c], r13w
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
mov rbx, r8
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18001a7e1
mov r12, qword [rsi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, rbx
jb 0x18001ab0c
cmp qword [rsi + 0x18], 8
jb 0x18001a812
mov rsi, qword [rsi]
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
lea r15, [r12 + rbx]
mov edi, 7
lea r14, [rbp - 0x30]
cmp r15, rdi
jbe 0x18001a865
mov rdi, r15
or rdi, 7
cmp rdi, rcx
jbe 0x18001a841
mov rdi, rcx
jmp 0x18001a84e
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
cmovb rdx, r8
call fcn.180006600
mov r14, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], rdi
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + r14]
lea r8, [r12 + r12]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [r14 + r15*2], r13w
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x18001a8c3
cmp eax, 2
sete bl
jmp 0x18001aa45
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x20], 0x3602221b
mov dword [rsp + 0x24], 0x383a3535
mov dword [rsp + 0x28], 0x16362c19
mov word [rsp + 0x2c], 0x1004
xor eax, eax
mov byte [rsp + 0x2e], al
mov edx, r13d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdx + 0x55]
xor byte [rcx], al
inc edx
cmp edx, 0xe
jb 0x18001a900
mov byte [rsp + 0x2e], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x10]
call rax
mov edi, eax
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
movdqa xmm0, xmmword [0x18002ec60]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x3b471400
mov dword [rsp + 0x34], 0x191f0b1d
mov dword [rsp + 0x38], 0x85f4e1e
xor eax, eax
mov byte [rsp + 0x3c], al
lea rcx, [rsp + 0x20]
call fcn.18000db80
mov rdx, rax
mov rcx, rbx
call fcn.180016960
lea rdx, [0x18000dfe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x180015b40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
test edi, edi
je 0x18001aa20
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
movdqa xmm0, xmmword [0x18002ea70]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x9214601
mov dword [rsp + 0x34], 0x80e0600
mov word [rsp + 0x38], 0x4f4c
xor eax, eax
mov byte [rsp + 0x3a], al
lea rcx, [rsp + 0x20]
call fcn.18000d9c0
mov rdx, rax
mov rcx, rbx
call fcn.180016960
lea rdx, [0x180015b40]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor bl, bl
jmp 0x18001aa45
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x18001aa43
xor bl, bl
jmp 0x18001aa45
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18001aa88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001aa83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001aa83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x18001aadc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001aad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001aad7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180029c7c
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180029c20
lea r11, [rsp + 0x130]
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
call fcn.180001540
nop
call fcn.180001540
int3