Function at 0x140003e8c
Capabilities:
Delete registry value
Encode data using xor
Get hostname
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x140017008]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x98], rcx
xor ebx, ebx
mov dword [rsp + 0x120], ebx
mov qword [r11 - 0x380], rbx
movaps xmm0, xmmword [str.gzpcoxh_pW2.1__1]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmm1, xmmword [0x14000ea70]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmm0, xmmword [0x14000ea80]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm1, xmmword [0x14000ea90]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmm0, xmmword [0x14000eaa0]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm1, xmmword [0x14000eab0]
movaps xmmword [rsp + 0x100], xmm1
movzx eax, word [0x14000eac0]
mov word [rsp + 0x110], ax
mov r8d, ebx
lea r9, [r11 - 0x3f8]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x34
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x31
jl 0x140003f49
lea r8, [rsp + 0xb0]
mov r14d, 0x104
mov edx, r14d
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x260]
or rdi, 0xffffffffffffffff
mov rcx, rdi
inc rcx
cmp word [rax + rcx*2], bx
jne 0x140003fad
mov r15d, 0x103
mov eax, r15d
sub eax, ecx
mov dword [rsp + 0x13c], eax
movsxd rax, ecx
lea rcx, [rsp + 0x260]
lea rcx, [rcx + rax*2]
lea rdx, [rsp + 0x13c]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140004453
lea rax, [rsp + 0x148]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x260]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140004453
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x120]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x140004453
mov ecx, dword [rsp + 0x120]
mov eax, 8
mul rcx
cmovo rax, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140004453
mov edi, ebx
mov ecx, dword [rsp + 0x120]
test ecx, ecx
je 0x140004173
mov dword [rsp + 0x130], r14d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x150]
mov edx, edi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, r15d
je 0x14000416c
test eax, eax
jne 0x14000415a
mov eax, dword [rsp + 0x130]
cmp rax, r14
jae 0x140004480
mov byte [rsp + rax + 0x150], bl
inc eax
mov dword [rsp + 0x130], eax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, edi
mov qword [rsi + rcx*8], rax
test rax, rax
je 0x14000415a
mov r8d, dword [rsp + 0x130]
lea rdx, [rsp + 0x150]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
inc edi
mov ecx, dword [rsp + 0x120]
cmp edi, ecx
jae 0x140004173
jmp 0x1400040ca
mov ecx, dword [rsp + 0x120]
mov r15d, ebx
mov dword [rsp + 0x60], r15d
cmp r15d, ecx
jae 0x140004412
mov eax, r15d
mov rsi, qword [rsi + rax*8]
mov qword [rsp + 0xa0], rsi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x68], eax
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
test eax, eax
je 0x1400043f5
lea rax, [rsp + 0x134]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x138]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400043ea
cmp dword [rsp + 0x138], 3
jne 0x1400043ea
cmp dword [rsp + 0x134], ebx
je 0x1400043ea
mov ecx, dword [rsp + 0x134]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x1400043fb
lea rax, [rsp + 0x134]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x138]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400043ce
mov eax, dword [rsp + 0x134]
cmp dword [r14], eax
jne 0x1400043ce
lea edi, [rax - 8]
mov ecx, dword [r14 + 4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400043ce
lea rcx, [r14 + 8]
lea r9, [rsp + 0x64]
mov r8, rax
mov edx, edi
call fcn.140009af8
test eax, eax
je 0x1400042ba
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r13
jmp 0x1400043e2
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400042a9
mov edx, dword [rsp + 0x64]
mov rcx, r13
call fcn.1400015f0
mov r12, rax
mov qword [rdi + 8], rax
jmp 0x14000431f
test r12, r12
je 0x1400043b8
cmp dword [r12 + 0x1c], ebx
je 0x1400043b8
lea rdx, str.GetObj
mov rcx, r12
call fcn.140001b4c
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x140004367
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rdi + 8]
call fcn.140001c44
jmp 0x1400043c9
lea rdx, str.GetInfo
mov rcx, r12
call fcn.140001b4c
test rax, rax
je 0x14000434b
lea rcx, [rsp + 0x140]
call rax
mov rax, qword [rsp + 0x140]
cmp eax, dword [rsp + 0x68]
jne 0x14000434b
mov dword [rdi], eax
mov eax, dword [rsp + 0x144]
mov dword [rdi + 4], eax
mov rcx, qword [rsp + 0x70]
add rcx, 0x3040
mov rdx, rdi
call fcn.140001318
jmp 0x1400042a9
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, rdi
jmp 0x1400043e2
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400043fb
mov rdx, rsi
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc r15d
mov ecx, dword [rsp + 0x120]
mov rsi, qword [rsp + 0xa8]
jmp 0x140004176
mov edi, ebx
test ecx, ecx
je 0x140004437
mov eax, edi
cmp qword [rsi + rax*8], rbx
je 0x140004431
mov rcx, qword [rsi + rax*8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x120]
inc edi
cmp edi, ecx
jb 0x140004418
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140004453
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14000c390
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14000c4ec
int3