Function at 0x14005d2b0
Capabilities:
Authenticate hmac
Parse pe header
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400ad028]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
xor r15d, r15d
lea rcx, [rbp]
call fcn.1400527b0
nop
movaps xmm0, xmmword [str.ajgaszdzOINXPK]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x14009a480]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x14009a490]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm2, xmmword [0x14009a4a0]
movaps xmmword [rbp - 0x50], xmm2
mov edx, dword [0x14009a4b0]
mov dword [rbp - 0x40], edx
movzx ecx, word [0x14009a4b4]
mov eax, 0x53
mov word [rbp - 0x80], ax
xor word [rbp - 0x7e], 0x33
xor word [rbp - 0x7c], 0x34
xor word [rbp - 0x7a], 0x35
xor word [rbp - 0x78], 0x36
xor word [rbp - 0x76], 0x37
xor word [rbp - 0x74], 0x38
xor word [rbp - 0x72], 0x39
movd eax, xmm1
xor ax, 0x3a
mov word [rbp - 0x70], ax
xor word [rbp - 0x6e], 0x3b
xor word [rbp - 0x6c], 0x3c
xor word [rbp - 0x6a], 0x3d
xor word [rbp - 0x68], 0x3e
xor word [rbp - 0x66], 0x3f
xor word [rbp - 0x64], 0x40
xor word [rbp - 0x62], 0x41
movd eax, xmm0
xor ax, 0x42
mov word [rbp - 0x60], ax
xor word [rbp - 0x5e], 0x43
xor word [rbp - 0x5c], 0x44
xor word [rbp - 0x5a], 0x45
xor word [rbp - 0x58], 0x46
xor word [rbp - 0x56], 0x47
xor word [rbp - 0x54], 0x48
xor word [rbp - 0x52], 0x49
movd eax, xmm2
xor ax, 0x4a
mov word [rbp - 0x50], ax
xor word [rbp - 0x4e], 0x4b
xor word [rbp - 0x4c], 0x4c
xor word [rbp - 0x4a], 0x4d
xor word [rbp - 0x48], 0x4e
xor word [rbp - 0x46], 0x4f
xor word [rbp - 0x44], 0x50
xor word [rbp - 0x42], 0x51
xor dx, 0x52
mov word [rbp - 0x40], dx
xor word [rbp - 0x3e], 0x53
xor cx, 0x54
mov word [rbp - 0x3c], cx
lea rax, [rbp - 0x80]
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14005d410
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x14005db4a
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
lea rcx, [rbp + 0x60]
call fcn.14005aca0
nop
movsd xmm0, qword [str.n_f_vi6]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009a4d8]
mov r12d, 0x5c
mov word [rsp + 0x40], r12w
xor word [rsp + 0x42], 0x33
xor word [rsp + 0x44], 0x34
xor word [rsp + 0x46], 0x35
xor ax, 0x36
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x40]
mov rcx, rdi
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14005d4a6
mov rdx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005db50
cmp qword [rbx + 0x18], 8
jb 0x14005d4cd
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.14005aca0
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
lea r8, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14005d5b4
mov eax, dword [rbp + 0x30]
lea edx, [rax + rax]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
movups xmm0, xmmword [str.URSgYMR_]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x14009a3b0]
mov dword [rsp + 0x60], eax
cmp word [0x14009a3b2], 0
je 0x14005d586
mov eax, 0x49
mov word [rsp + 0x50], ax
xor word [rsp + 0x52], 0x33
xor word [rsp + 0x54], 0x34
xor word [rsp + 0x56], 0x35
xor word [rsp + 0x58], 0x36
xor word [rsp + 0x5a], 0x37
xor word [rsp + 0x5c], 0x38
xor word [rsp + 0x5e], 0x39
xor word [rsp + 0x60], 0x3a
xor word [rsp + 0x62], 0x3b
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x14005d600
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14005da6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005da67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005da67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movsd xmm0, qword [str.fJDP6]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009a450]
mov ecx, 0x54
mov word [rsp + 0x40], cx
xor word [rsp + 0x42], 0x33
xor word [rsp + 0x44], 0x34
xor word [rsp + 0x46], 0x35
xor ax, 0x36
mov word [rsp + 0x48], ax
mov dword [rsp + 0x28], 4
lea rax, [0x14009a4c8]
mov qword [rsp + 0x20], rax
lea r9d, [rcx - 0x50]
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp - 0x10]
test eax, eax
jne 0x14005d5ae
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [str.GPYZ]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009a008]
mov word [rsp + 0x48], ax
cmp byte [0x14009a009], 0
je 0x14005d6ca
mov byte [rsp + 0x40], WSASetLastError
xor byte [rsp + 0x41], 0x33
xor byte [rsp + 0x42], 0x34
xor byte [rsp + 0x43], 0x35
xor byte [rsp + 0x44], 0x36
xor byte [rsp + 0x45], 0x37
xor byte [rsp + 0x46], 0x38
xor byte [rsp + 0x47], 0x39
xor byte [rsp + 0x48], 0x3a
xor byte [rsp + 0x49], 0x3b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005d5b4
movups xmm0, xmmword [str._GXtR_MJNkNTHV___D]
movups xmmword [rsp + 0x50], xmm0
movzx edx, word [0x14009a440]
mov word [rsp + 0x60], dx
movzx ecx, byte [0x14009a442]
mov byte [rsp + 0x50], 0x52
xor byte [rsp + 0x51], 0x33
xor byte [rsp + 0x52], 0x34
xor byte [rsp + 0x53], 0x35
xor byte [rsp + 0x54], 0x36
xor byte [rsp + 0x55], 0x37
xor byte [rsp + 0x56], 0x38
xor byte [rsp + 0x57], 0x39
xor byte [rsp + 0x58], 0x3a
xor byte [rsp + 0x59], 0x3b
xor byte [rsp + 0x5a], 0x3c
xor byte [rsp + 0x5b], 0x3d
xor byte [rsp + 0x5c], 0x3e
xor byte [rsp + 0x5d], 0x3f
xor byte [rsp + 0x5e], 0x40
xor byte [rsp + 0x5f], 0x41
xor dl, 0x42
mov byte [rsp + 0x60], dl
xor byte [rsp + 0x61], 0x43
xor cl, 0x44
mov byte [rsp + 0x62], cl
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
movsd xmm0, qword [str.GxZWSKSMYO_]
movsd qword [rsp + 0x68], xmm0
mov ecx, dword [0x14009a460]
mov dword [rsp + 0x70], ecx
movzx edx, byte [0x14009a464]
mov byte [rsp + 0x68], 0x4e
xor byte [rsp + 0x69], 0x33
xor byte [rsp + 0x6a], 0x34
xor byte [rsp + 0x6b], 0x35
xor byte [rsp + 0x6c], 0x36
xor byte [rsp + 0x6d], 0x37
xor byte [rsp + 0x6e], 0x38
xor byte [rsp + 0x6f], 0x39
xor cl, 0x3a
mov byte [rsp + 0x70], cl
xor byte [rsp + 0x71], 0x3b
xor byte [rsp + 0x72], 0x3c
xor byte [rsp + 0x73], 0x3d
xor dl, 0x3e
mov byte [rsp + 0x74], dl
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea r9, [rbp - 8]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
js 0x14005d5b4
movaps xmm0, xmmword [str.naQR_DLKCgq_W__]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x14009a3d0]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm2, xmmword [0x14009a3e0]
movaps xmmword [rbp - 0x60], xmm2
movaps xmm3, xmmword [0x14009a3f0]
movaps xmmword [rbp - 0x50], xmm3
movaps xmm4, xmmword [0x14009a400]
movaps xmmword [rbp - 0x40], xmm4
movaps xmm5, xmmword [0x14009a410]
movaps xmmword [rbp - 0x30], xmm5
movsd xmm0, qword [0x14009a420]
movsd qword [rbp - 0x20], xmm0
movzx ecx, word [0x14009a428]
mov word [rbp - 0x80], r12w
xor word [rbp - 0x7e], 0x33
xor word [rbp - 0x7c], 0x34
xor word [rbp - 0x7a], 0x35
xor word [rbp - 0x78], 0x36
xor word [rbp - 0x76], 0x37
xor word [rbp - 0x74], 0x38
xor word [rbp - 0x72], 0x39
movd eax, xmm1
xor ax, 0x3a
mov word [rbp - 0x70], ax
xor word [rbp - 0x6e], 0x3b
xor word [rbp - 0x6c], 0x3c
xor word [rbp - 0x6a], 0x3d
xor word [rbp - 0x68], 0x3e
xor word [rbp - 0x66], 0x3f
xor word [rbp - 0x64], 0x40
xor word [rbp - 0x62], 0x41
movd eax, xmm2
xor ax, 0x42
mov word [rbp - 0x60], ax
xor word [rbp - 0x5e], 0x43
xor word [rbp - 0x5c], 0x44
xor word [rbp - 0x5a], 0x45
xor word [rbp - 0x58], 0x46
xor word [rbp - 0x56], 0x47
xor word [rbp - 0x54], 0x48
xor word [rbp - 0x52], 0x49
movd eax, xmm3
xor ax, 0x4a
mov word [rbp - 0x50], ax
xor word [rbp - 0x4e], 0x4b
xor word [rbp - 0x4c], 0x4c
xor word [rbp - 0x4a], 0x4d
xor word [rbp - 0x48], 0x4e
xor word [rbp - 0x46], 0x4f
xor word [rbp - 0x44], 0x50
xor word [rbp - 0x42], 0x51
movd eax, xmm4
xor ax, 0x52
mov word [rbp - 0x40], ax
xor word [rbp - 0x3e], 0x53
xor word [rbp - 0x3c], 0x54
xor word [rbp - 0x3a], 0x55
xor word [rbp - 0x38], 0x56
xor word [rbp - 0x36], 0x57
xor word [rbp - 0x34], 0x58
xor word [rbp - 0x32], 0x59
movd eax, xmm5
xor ax, 0x5a
mov word [rbp - 0x30], ax
xor word [rbp - 0x2e], 0x5b
xor word [rbp - 0x2c], 0x5c
xor word [rbp - 0x2a], 0x5d
xor word [rbp - 0x28], 0x5e
xor word [rbp - 0x26], 0x5f
xor word [rbp - 0x24], 0x60
xor word [rbp - 0x22], 0x61
xor word [rbp - 0x20], 0x62
xor word [rbp - 0x1e], 0x32
xor word [rbp - 0x1c], 0x33
xor word [rbp - 0x1a], 0x34
xor cx, 0x35
mov word [rbp - 0x18], cx
lea rax, [rbp - 0x80]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14005d990
mov rcx, qword [rbp + 0x10]
sub rsi, rcx
cmp rsi, rdi
jb 0x14005db44
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x80]
lea rcx, [rbp + 0x40]
call fcn.14005aca0
nop
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x80]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0x80]
call r14
mov ebx, eax
cmp eax, 0xc000010e
jne 0x14005da07
mov bl, 1
jmp 0x14005da0d
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14005da50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005da4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005da4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
movdqa xmm0, xmmword [0x14009c060]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
jmp 0x14005d5b6
call fcn.14007e620
movdqa xmm0, xmmword [0x14009c060]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r15w
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14005dac1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005dabc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005dabc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
movdqa xmm0, xmmword [0x14009c060]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14005db16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005db11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005db11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e620
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14007e1c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400526d0
nop
call fcn.1400526d0
nop
call fcn.1400526d0
int3