Function at 0x180176730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rsp + 0x140], rbx
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov r14, rcx
lea rdx, [0x1802892e0]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rdx, str.RegEnumKeyExW
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, [0x1802892c0]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test r13, r13
je 0x180176a8d
test rbx, rbx
je 0x180176a8d
test rax, rax
je 0x180176a8d
xor r15b, r15b
mov rcx, r14
call fcn.1801788b0
mov esi, eax
mov eax, 0x804
test esi, esi
cmove esi, eax
movzx ecx, si
mov dword [rdi + 0x48], ecx
call fcn.180178ce0
test al, al
je 0x180176a20
mov dword [rbp - 0x39], 0x6f0053
mov dword [rbp - 0x35], 0x740066
mov dword [rbp - 0x31], 0x610077
mov dword [rbp - 0x2d], 0x650072
mov dword [rbp - 0x29], 0x4d005c
mov dword [rbp - 0x25], 0x630069
mov dword [rbp - 0x21], 0x6f0072
mov dword [rbp - 0x1d], 0x6f0073
mov dword [rbp - 0x19], 0x740066
mov dword [rbp - 0x15], 0x43005c
mov dword [rbp - 0x11], 0x460054
mov dword [rbp - 0xd], 0x41005c
mov dword [rbp - 9], 0x730073
mov dword [rbp - 5], 0x6d0065
mov dword [rbp - 1], 0x6c0062
mov dword [rbp + 3], 0x650069
mov dword [rbp + 7], reloc.WS2_32.dll_WSAStartup
xor esi, esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x51], xmm1
mov word [rbp - 0x61], si
lea rax, str.34745C63_B2F0_4784_8B67_5E12C8701A31
mov qword [rsp + 0x20], rax
mov r9d, dword [rdi + 0x48]
lea r8, [rbp - 0x39]
lea rdx, str._s0x_08x_s
lea rcx, [rbp - 0x61]
call fcn.1800f2c10
mov qword [rbp - 0x69], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x30], rsi
lea rbx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rbx, qword [rbp - 0x61]
mov edx, 0x20019
lea rcx, [rsp + 0x30]
call fcn.1801be390
mov rcx, rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
call r13
test eax, eax
jne 0x1801769b3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], si
lea rdx, str.Default
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x180176920
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.180007110
nop
mov rdx, qword [rbp - 0x69]
test rdx, rdx
je 0x180176952
mov r9, rdi
lea r8, [rsp + 0x38]
mov rcx, r14
call fcn.1801798b0
nop
mov rdx, qword [rbp - 0x79]
cmp rdx, 8
jb 0x180176996
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180176991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180176991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], si
mov rcx, qword [rbp - 0x69]
call r12
mov r15b, 1
cmp qword [rsp + 0x30], 0
je 0x1801769c6
lea rcx, [rsp + 0x30]
call fcn.1801be540
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x180176a09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180176a04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180176a04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], si
movzx eax, r15b
jmp 0x180176a8f
lea r14, str.00000000_0000_0000_0000_000000000000
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [r14 + r8*2], 0
jne 0x180176a31
lea rcx, [rdi + 0x50]
mov rdx, r14
call fcn.180007110
nop dword [rax + rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x180176a50
mov r8, rbx
lea rcx, [rdi + 0x70]
mov rdx, r14
call fcn.180007110
mov eax, dword [rdi + 0x48]
cmp esi, eax
jne 0x180176a82
imul eax, eax, 0x10001
mov dword [rdi], eax
mov r15b, 1
movzx eax, r15b
jmp 0x180176a8f
mov dword [rdi], esi
mov r15b, 1
movzx eax, r15b
jmp 0x180176a8f
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18022a7d0
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret