Function at 0x14005de70
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 [0x1400af040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rcx
xor r15d, r15d
lea rcx, [rbp]
call fcn.1400526c0
nop
movaps xmm0, xmmword [str.bk__pkLHIYSJ__61_]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x14009c490]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x14009c4a0]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm2, xmmword [0x14009c4b0]
movaps xmmword [rbp - 0x50], xmm2
mov edx, dword [0x14009c4c0]
mov dword [rbp - 0x40], edx
movzx ecx, word [0x14009c4c4]
mov eax, 0x53
mov word [rbp - 0x80], ax
xor word [rbp - 0x7e], 0x32
xor word [rbp - 0x7c], 0x33
xor word [rbp - 0x7a], 0x34
xor word [rbp - 0x78], 0x35
xor word [rbp - 0x76], 0x36
xor word [rbp - 0x74], 0x37
xor word [rbp - 0x72], 0x38
movd eax, xmm1
xor ax, 0x39
mov word [rbp - 0x70], ax
xor word [rbp - 0x6e], 0x3a
xor word [rbp - 0x6c], 0x3b
xor word [rbp - 0x6a], 0x3c
xor word [rbp - 0x68], 0x3d
xor word [rbp - 0x66], 0x3e
xor word [rbp - 0x64], 0x3f
xor word [rbp - 0x62], 0x40
movd eax, xmm0
xor ax, 0x41
mov word [rbp - 0x60], ax
xor word [rbp - 0x5e], 0x42
xor word [rbp - 0x5c], 0x43
xor word [rbp - 0x5a], 0x44
xor word [rbp - 0x58], 0x45
xor word [rbp - 0x56], 0x46
xor word [rbp - 0x54], 0x47
xor word [rbp - 0x52], 0x48
movd eax, xmm2
xor ax, 0x49
mov word [rbp - 0x50], ax
xor word [rbp - 0x4e], 0x4a
xor word [rbp - 0x4c], 0x4b
xor word [rbp - 0x4a], 0x4c
xor word [rbp - 0x48], 0x4d
xor word [rbp - 0x46], 0x4e
xor word [rbp - 0x44], 0x4f
xor word [rbp - 0x42], 0x50
xor dx, 0x51
mov word [rbp - 0x40], dx
xor word [rbp - 0x3e], 0x52
xor cx, 0x53
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 0x14005dfd0
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x14005e70a
lea rax, [rbp]
cmp qword [rbp + 0x18], 7
cmova 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.14005b770
nop
movsd xmm0, qword [str.m_r_fh5]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009c510]
mov r12d, 0x5c
mov word [rsp + 0x40], r12w
xor word [rsp + 0x42], 0x32
xor word [rsp + 0x44], 0x33
xor word [rsp + 0x46], 0x34
xor ax, 0x35
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x40]
mov rcx, rdi
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14005e066
mov rdx, qword [rbx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005e710
cmp qword [rbx + 0x18], 7
jbe 0x14005e08d
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.14005b770
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
lea r8, [rbp - 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14005e174
mov eax, dword [rbp + 0x30]
lea edx, [rax + rax]
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rcx, qword [rbp + 0x20]
movups xmm0, xmmword [str.x_RSPfVLQ:]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x14009c3f8]
mov dword [rsp + 0x60], eax
cmp word [0x14009c3fa], 0
je 0x14005e146
mov eax, 0x49
mov word [rsp + 0x50], ax
xor word [rsp + 0x52], 0x32
xor word [rsp + 0x54], 0x33
xor word [rsp + 0x56], 0x34
xor word [rsp + 0x58], 0x35
xor word [rsp + 0x5a], 0x36
xor word [rsp + 0x5c], 0x37
xor word [rsp + 0x5e], 0x38
xor word [rsp + 0x60], 0x39
xor word [rsp + 0x62], 0x3a
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 0x14005e1c0
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x14005e62c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e627
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movsd xmm0, qword [str.eKCQ5]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009c408]
mov ecx, 0x54
mov word [rsp + 0x40], cx
xor word [rsp + 0x42], 0x32
xor word [rsp + 0x44], 0x33
xor word [rsp + 0x46], 0x34
xor ax, 0x35
mov word [rsp + 0x48], ax
mov dword [rsp + 0x28], 4
lea rax, [0x14009c4c8]
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 0x14005e16e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsd xmm0, qword [str._FWXY]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14009c180]
mov word [rsp + 0x48], ax
cmp byte [0x14009c181], 0
je 0x14005e28a
mov byte [rsp + 0x40], WSAGetLastError
xor byte [rsp + 0x41], 0x32
xor byte [rsp + 0x42], 0x33
xor byte [rsp + 0x43], 0x34
xor byte [rsp + 0x44], 0x35
xor byte [rsp + 0x45], 0x36
xor byte [rsp + 0x46], 0x37
xor byte [rsp + 0x47], 0x38
xor byte [rsp + 0x48], 0x39
xor byte [rsp + 0x49], 0x3a
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14005e174
movups xmm0, xmmword [str.cF_uQBKMjIUKWS_C]
movups xmmword [rsp + 0x50], xmm0
movzx edx, word [0x14009c500]
mov word [rsp + 0x60], dx
movzx ecx, byte [0x14009c502]
mov byte [rsp + 0x50], 0x52
xor byte [rsp + 0x51], 0x32
xor byte [rsp + 0x52], 0x33
xor byte [rsp + 0x53], 0x34
xor byte [rsp + 0x54], 0x35
xor byte [rsp + 0x55], 0x36
xor byte [rsp + 0x56], 0x37
xor byte [rsp + 0x57], 0x38
xor byte [rsp + 0x58], 0x39
xor byte [rsp + 0x59], 0x3a
xor byte [rsp + 0x5a], 0x3b
xor byte [rsp + 0x5b], 0x3c
xor byte [rsp + 0x5c], 0x3d
xor byte [rsp + 0x5d], 0x3e
xor byte [rsp + 0x5e], 0x3f
xor byte [rsp + 0x5f], 0x40
xor dl, 0x41
mov byte [rsp + 0x60], dl
xor byte [rsp + 0x61], 0x42
xor cl, 0x43
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 [0x14009c4e0]
movsd qword [rsp + 0x68], xmm0
mov ecx, dword [0x14009c4e8]
mov dword [rsp + 0x70], ecx
movzx edx, byte [0x14009c4ec]
mov byte [rsp + 0x68], 0x4e
xor byte [rsp + 0x69], 0x32
xor byte [rsp + 0x6a], 0x33
xor byte [rsp + 0x6b], 0x34
xor byte [rsp + 0x6c], 0x35
xor byte [rsp + 0x6d], 0x36
xor byte [rsp + 0x6e], 0x37
xor byte [rsp + 0x6f], 0x38
xor cl, 0x39
mov byte [rsp + 0x70], cl
xor byte [rsp + 0x71], 0x3a
xor byte [rsp + 0x72], 0x3b
xor byte [rsp + 0x73], 0x3c
xor dl, 0x3d
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 0x14005e174
movaps xmm0, xmmword [str.m_VSECJ_fv_VV._]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x14009c420]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm2, xmmword [0x14009c430]
movaps xmmword [rbp - 0x60], xmm2
movaps xmm3, xmmword [0x14009c440]
movaps xmmword [rbp - 0x50], xmm3
movaps xmm4, xmmword [0x14009c450]
movaps xmmword [rbp - 0x40], xmm4
movaps xmm5, xmmword [0x14009c460]
movaps xmmword [rbp - 0x30], xmm5
movsd xmm0, qword [0x14009c470]
movsd qword [rbp - 0x20], xmm0
movzx ecx, word [0x14009c478]
mov word [rbp - 0x80], r12w
xor word [rbp - 0x7e], 0x32
xor word [rbp - 0x7c], 0x33
xor word [rbp - 0x7a], 0x34
xor word [rbp - 0x78], 0x35
xor word [rbp - 0x76], 0x36
xor word [rbp - 0x74], 0x37
xor word [rbp - 0x72], 0x38
movd eax, xmm1
xor ax, 0x39
mov word [rbp - 0x70], ax
xor word [rbp - 0x6e], 0x3a
xor word [rbp - 0x6c], 0x3b
xor word [rbp - 0x6a], 0x3c
xor word [rbp - 0x68], 0x3d
xor word [rbp - 0x66], 0x3e
xor word [rbp - 0x64], 0x3f
xor word [rbp - 0x62], 0x40
movd eax, xmm2
xor ax, 0x41
mov word [rbp - 0x60], ax
xor word [rbp - 0x5e], 0x42
xor word [rbp - 0x5c], 0x43
xor word [rbp - 0x5a], 0x44
xor word [rbp - 0x58], 0x45
xor word [rbp - 0x56], 0x46
xor word [rbp - 0x54], 0x47
xor word [rbp - 0x52], 0x48
movd eax, xmm3
xor ax, 0x49
mov word [rbp - 0x50], ax
xor word [rbp - 0x4e], 0x4a
xor word [rbp - 0x4c], 0x4b
xor word [rbp - 0x4a], 0x4c
xor word [rbp - 0x48], 0x4d
xor word [rbp - 0x46], 0x4e
xor word [rbp - 0x44], 0x4f
xor word [rbp - 0x42], 0x50
movd eax, xmm4
xor ax, 0x51
mov word [rbp - 0x40], ax
xor word [rbp - 0x3e], 0x52
xor word [rbp - 0x3c], 0x53
xor word [rbp - 0x3a], 0x54
xor word [rbp - 0x38], 0x55
xor word [rbp - 0x36], 0x56
xor word [rbp - 0x34], 0x57
xor word [rbp - 0x32], 0x58
movd eax, xmm5
xor ax, 0x59
mov word [rbp - 0x30], ax
xor word [rbp - 0x2e], 0x5a
xor word [rbp - 0x2c], 0x5b
xor word [rbp - 0x2a], 0x5c
xor word [rbp - 0x28], 0x5d
xor word [rbp - 0x26], 0x5e
xor word [rbp - 0x24], 0x5f
xor word [rbp - 0x22], 0x60
xor word [rbp - 0x20], 0x61
xor word [rbp - 0x1e], 0x62
xor word [rbp - 0x1c], 0x63
xor word [rbp - 0x1a], 0x31
xor cx, 0x32
mov word [rbp - 0x18], cx
lea rax, [rbp - 0x80]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14005e550
mov rcx, qword [rbp + 0x10]
sub rsi, rcx
cmp rsi, rdi
jb 0x14005e704
lea rax, [rbp]
cmp qword [rbp + 0x18], 7
cmova 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.14005b770
nop
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova 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 0x14005e5c7
mov bl, 1
jmp 0x14005e5cd
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14005e610
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e60b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e60b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
movdqa xmm0, xmmword [0x14009e180]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
jmp 0x14005e176
call fcn.140080290
movdqa xmm0, xmmword [0x14009e180]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r15w
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14005e681
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e67c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e67c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
movdqa xmm0, xmmword [0x14009e180]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14005e6d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e6d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e6d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080290
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14007fe40
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.1400525e0
nop
call fcn.1400525e0
nop
call fcn.1400525e0
int3