Function at 0x180019370
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x180040030]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor ebx, ebx
lea rdi, [0x180041418]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], bl
lea edx, [rbx + 0x11]
mov dword [rbp - 0x80], 0x420011
mov dword [rbp - 0x7c], 0x57005e
mov dword [rbp - 0x78], 0x460045
mov dword [rbp - 0x74], 0x430050
mov dword [rbp - 0x70], 0x4d0054
mov dword [rbp - 0x6c], 0x78005c
mov dword [rbp - 0x68], 0x630072
mov dword [rbp - 0x64], 0x62007e
mov dword [rbp - 0x60], 0x77007e
mov dword [rbp - 0x5c], 0x4d0065
mov dword [rbp - 0x58], 0x630052
mov dword [rbp - 0x54], 0x610068
mov dword [rbp - 0x50], 0x7e0065
mov dword [rbp - 0x4c], 0x630076
mov dword [rbp - 0x48], 0x610070
mov dword [rbp - 0x44], 0x680079
mov word [rbp - 0x40], dx
movzx eax, word [str.MachineGuid]
xor ax, dx
mov word [rbp - 0x3e], ax
movzx eax, word [0x180035b72]
xor ax, dx
mov word [rbp - 0x3c], ax
movzx eax, word [0x180035b74]
xor ax, dx
mov word [rbp - 0x3a], ax
movzx eax, word [0x180035b76]
xor ax, dx
mov word [rbp - 0x38], ax
movzx eax, word [0x180035b78]
xor ax, dx
mov word [rbp - 0x36], ax
movzx eax, word [0x180035b7a]
xor ax, dx
mov word [rbp - 0x34], ax
movzx eax, word [0x180035b7c]
xor ax, dx
mov word [rbp - 0x32], ax
movzx eax, word [0x180035b7e]
xor ax, dx
mov word [rbp - 0x30], ax
movzx eax, word [0x180035b80]
xor ax, dx
mov word [rbp - 0x2e], ax
movzx eax, word [0x180035b82]
xor ax, dx
mov word [rbp - 0x2c], ax
movzx eax, word [0x180035b84]
xor ax, dx
mov word [rbp - 0x2a], ax
movzx eax, word [0x180035b86]
xor ax, dx
mov word [rbp - 0x28], ax
movzx eax, word [0x180035b88]
xor ax, dx
mov word [rbp - 0x26], ax
movzx eax, word [0x180035b8a]
xor ax, dx
mov word [rbp - 0x24], ax
movzx eax, word [0x180035b8c]
xor ax, dx
mov word [rbp - 0x22], ax
movzx eax, word [0x180035b8e]
xor ax, dx
mov word [rbp - 0x20], ax
movzx eax, word [0x180035b90]
xor ax, dx
mov word [rbp - 0x1e], ax
movzx eax, word [0x180035b92]
xor ax, dx
mov word [rbp - 0x1c], ax
movzx eax, word [0x180035b94]
xor ax, dx
mov word [rbp - 0x1a], ax
movzx eax, word [0x180035b96]
xor ax, dx
mov word [rbp - 0x18], ax
movzx eax, word [0x180035b98]
xor ax, dx
mov word [rbp - 0x16], ax
movzx eax, word [0x180035b9a]
xor ax, dx
mov word [rbp - 0x14], ax
movzx eax, word [str.OTCIMV2]
xor ax, dx
mov word [rbp - 0x12], ax
movzx eax, word [0x180035b9e]
xor ax, dx
mov word [rbp - 0x10], ax
movzx eax, word [0x180035ba0]
xor ax, dx
mov word [rbp - 0xe], ax
movzx eax, word [0x180035ba2]
xor ax, dx
mov word [rbp - 0xc], ax
movzx eax, word [0x180035ba4]
xor ax, dx
mov word [rbp - 0xa], ax
movzx eax, word [0x180035ba6]
xor ax, dx
mov word [rbp - 8], ax
movzx eax, word [0x180035ba8]
xor ax, dx
mov word [rbp - 6], ax
movzx eax, word [0x180035baa]
xor ax, dx
mov word [rbp - 4], ax
movzx eax, word [0x180035bac]
xor ax, dx
mov word [rbp - 2], ax
xor eax, eax
mov word [rbp], ax
mov ecx, ebx
xor word [rbp + rcx*2 - 0x7e], dx
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x7c], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x7a], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x78], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x76], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x74], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x72], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x70], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x6e], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x6c], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x6a], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x68], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x66], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x64], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x62], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x60], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x5e], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x5c], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x5a], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x58], ax
movzx eax, word [rbp - 0x80]
xor word [rbp + rcx*2 - 0x56], ax
add rcx, 0x15
cmp rcx, 0x3f
jae 0x1800196be
movzx edx, word [rbp - 0x80]
jmp 0x1800195f2
mov word [rbp], bx
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [rbp - 0x7e]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180019c6e
mov dword [rbp + 0x20], ebx
mov ecx, 9
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x40], cx
lea esi, [rax + 0x60]
lea r13d, [rax + 0x6c]
movzx r14d, cx
movzx eax, word [0x180035b88]
xor ax, cx
mov word [rsp + 0x38], ax
movzx r15d, word [0x180035b8a]
xor r15w, cx
movzx edi, word [0x180035b8c]
xor di, cx
movzx ebx, word [0x180035b8e]
xor bx, cx
movzx r11d, word [0x180035b90]
xor r11w, cx
movzx r10d, word [0x180035b92]
xor r10w, cx
movzx r9d, word [0x180035b94]
xor r9w, cx
movzx r8d, word [0x180035b96]
xor r8w, cx
movzx edx, word [0x180035b98]
xor dx, cx
movzx ecx, word [0x180035b9a]
xor cx, r14w
movzx eax, word [str.OTCIMV2]
xor ax, r14w
mov r12d, 0x44
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x42], r12w
mov r12d, 0x68
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x44], r12w
mov r12d, 0x6a
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x46], r12w
mov r12d, 0x61
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x48], r12w
mov r12d, esi
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x4a], r12w
mov r12d, 0x67
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x4c], r12w
xor r13w, r14w
mov word [rsp + 0x4e], r13w
mov r12d, 0x4e
mov r13d, 9
xor r12w, r13w
mov word [rsp + 0x50], r12w
mov r12d, 0x7c
xor r12w, r13w
mov word [rsp + 0x52], r12w
xor si, r13w
mov word [rsp + 0x54], si
mov esi, 0x6d
xor si, r13w
mov word [rsp + 0x56], si
xor r14w, r13w
mov word [rsp + 0x58], r14w
movzx esi, word [rsp + 0x38]
xor si, r13w
mov word [rsp + 0x5a], si
xor r15w, r13w
mov word [rsp + 0x5c], r15w
xor di, r13w
mov word [rsp + 0x5e], di
xor bx, r13w
mov word [rsp + 0x60], bx
xor r11w, r13w
mov word [rsp + 0x62], r11w
xor r10w, r13w
mov word [rsp + 0x64], r10w
xor r9w, r13w
mov word [rsp + 0x66], r9w
xor r8w, r13w
mov word [rsp + 0x68], r8w
xor dx, r13w
mov word [rsp + 0x6a], dx
xor cx, r13w
mov word [rsp + 0x6c], cx
xor ax, r13w
mov word [rsp + 0x6e], ax
xor ebx, ebx
mov word [rsp + 0x70], bx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x42]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180019beb
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x180019b41
mov ecx, eax
call fcn.180030c50
mov qword [rbp + 0x10], rax
mov ecx, 0x5a
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x40], cx
lea esi, [rbx + 0x33]
lea r13d, [rbx + 0x3f]
movzx r14d, cx
movzx eax, word [0x180035b88]
xor ax, cx
mov word [rsp + 0x38], ax
movzx r15d, word [0x180035b8a]
xor r15w, cx
movzx edi, word [0x180035b8c]
xor di, cx
movzx ebx, word [0x180035b8e]
xor bx, cx
movzx r11d, word [0x180035b90]
xor r11w, cx
movzx r10d, word [0x180035b92]
xor r10w, cx
movzx r9d, word [0x180035b94]
xor r9w, cx
movzx r8d, word [0x180035b96]
xor r8w, cx
movzx edx, word [0x180035b98]
xor dx, cx
movzx ecx, word [0x180035b9a]
xor cx, r14w
movzx eax, word [str.OTCIMV2]
xor ax, r14w
mov r12d, 0x17
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x42], r12w
mov r12d, 0x3b
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x44], r12w
mov r12d, 0x39
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x46], r12w
mov r12d, 0x32
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x48], r12w
mov r12d, esi
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x4a], r12w
mov r12d, 0x34
xor r12w, word [rsp + 0x30]
mov word [rsp + 0x4c], r12w
xor r13w, r14w
mov word [rsp + 0x4e], r13w
mov r12d, 0x1d
mov r13d, 0x5a
xor r12w, r13w
mov word [rsp + 0x50], r12w
mov r12d, 0x2f
xor r12w, r13w
mov word [rsp + 0x52], r12w
xor si, r13w
mov word [rsp + 0x54], si
mov esi, 0x3e
xor si, r13w
mov word [rsp + 0x56], si
xor r14w, r13w
mov word [rsp + 0x58], r14w
movzx esi, word [rsp + 0x38]
xor si, r13w
mov word [rsp + 0x5a], si
xor r15w, r13w
mov word [rsp + 0x5c], r15w
xor di, r13w
mov word [rsp + 0x5e], di
xor bx, r13w
mov word [rsp + 0x60], bx
xor r11w, r13w
mov word [rsp + 0x62], r11w
xor r10w, r13w
mov word [rsp + 0x64], r10w
xor r9w, r13w
mov word [rsp + 0x66], r9w
xor r8w, r13w
mov word [rsp + 0x68], r8w
xor dx, r13w
mov word [rsp + 0x6a], dx
xor cx, r13w
mov word [rsp + 0x6c], cx
xor ax, r13w
mov word [rsp + 0x6e], ax
xor ebx, ebx
mov word [rsp + 0x70], bx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov rdi, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x42]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180019b63
cmp dword [rbp + 0x20], ebx
jbe 0x180019b39
nop dword [rax]
mov eax, ebx
movzx r9d, byte [rax + rdi]
test r9b, r9b
je 0x180019b32
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
cmp rcx, rdx
jae 0x180019b29
lea rax, [rcx + 1]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x30]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180019b32
lea rcx, [rbp + 0x30]
call fcn.180004dd0
inc ebx
cmp ebx, dword [rbp + 0x20]
jb 0x180019af0
mov rcx, rdi
call fcn.180030790
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [0x180041418], xmm0
movups xmm1, xmmword [rbp + 0x40]
movups xmmword [0x180041428], xmm1
jmp 0x180019bdf
mov byte [rsp + 0x30], 0x25
mov al, 0x60
mov cl, 0x57
movzx edx, cl
mov r8b, 0x4a
movzx r9d, cl
xor al, 0x25
mov byte [rsp + 0x31], al
xor cl, 0x25
mov byte [rsp + 0x32], cl
xor dl, 0x25
mov byte [rsp + 0x33], dl
xor r8b, 0x25
mov byte [rsp + 0x34], r8b
xor r9b, 0x25
mov byte [rsp + 0x35], r9b
mov byte [rsp + 0x36], bl
xorps xmm0, xmm0
movups xmmword [0x180041418], xmm0
mov qword [0x180041428], rbx
mov qword [0x180041430], rbx
lea rax, [rsp + 0x31]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x180019bc4
lea rdx, [rsp + 0x31]
lea rcx, [0x180041418]
call fcn.1800053f0
nop
lea rax, [0x180041418]
jmp 0x180019cef
mov byte [rsp + 0x30], 0x16
mov al, 0x53
mov cl, 0x64
movzx edx, cl
mov r8b, 0x79
movzx r9d, cl
mov r10b, 0x24
xor al, 0x16
mov byte [rsp + 0x31], al
xor cl, 0x16
mov byte [rsp + 0x32], cl
xor dl, 0x16
mov byte [rsp + 0x33], dl
xor r8b, 0x16
mov byte [rsp + 0x34], r8b
xor r9b, 0x16
mov byte [rsp + 0x35], r9b
xor r10b, 0x16
mov byte [rsp + 0x36], r10b
mov byte [rsp + 0x37], bl
xorps xmm0, xmm0
movups xmmword [0x180041418], xmm0
mov qword [0x180041428], rbx
mov qword [0x180041430], rbx
lea rax, [rsp + 0x31]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x180019c60
jmp 0x180019bcd
mov byte [rbp + 0x20], 1
mov al, 0x44
mov cl, 0x73
movzx edx, cl
mov r8b, 0x6e
movzx r9d, cl
mov r10b, 0x32
xor r11d, r11d
xor al, 1
mov byte [rbp + 0x21], al
xor cl, 1
mov byte [rbp + 0x22], cl
xor dl, 1
mov byte [rbp + 0x23], dl
xor r8b, 1
mov byte [rbp + 0x24], r8b
xor r9b, 1
mov byte [rbp + 0x25], r9b
xor r10b, 1
mov byte [rbp + 0x26], r10b
mov byte [rbp + 0x27], r11b
xorps xmm0, xmm0
movups xmmword [0x180041418], xmm0
mov qword [0x180041428], rbx
mov qword [0x180041430], rbx
lea rax, [rbp + 0x21]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r11b
jne 0x180019cd6
lea rdx, [rbp + 0x21]
mov rcx, rdi
call fcn.1800053f0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180030770
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret