Function at 0x14007bb30
Capabilities:
Authenticate hmac
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14011f040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor edi, edi
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0xd0]
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14007bba0
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.14009c8e0
nop
movzx eax, word [0x140111fc0]
mov word [rsp + 0x20], ax
cmp byte [0x140111fc1], 0
je 0x14007bbda
mov byte [rsp + 0x20], 0x5c
xor byte [rsp + 0x21], 0x33
lea rax, [rsp + 0x20]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007bbe2
lea rsi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rsi, qword [rsp + 0x70]
mov r15, qword [rbp - 0x80]
test rbx, rbx
je 0x14007bc87
test r15, r15
je 0x14007bc87
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x20]
add rdx, rbx
lea rax, [rsp + 0x20]
cmp rax, rdx
je 0x14007bc50
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x50], 1
inc rcx
cmp rcx, rdx
jne 0x14007bc40
lea rcx, [r15 - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
add rax, rsi
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
jne 0x14007bc82
nop dword [rax + rax]
cmp rax, rsi
je 0x14007bc87
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x50], 0
je 0x14007bc70
sub rax, rsi
jmp 0x14007bc8a
mov rax, r14
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
cmp r15, rcx
jb 0x14007beb7
sub r15, rcx
cmp r15, 0xffffffffffffffff
cmovb r14, r15
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
add rdx, rcx
mov r8, r14
lea rcx, [rbp - 0x70]
call fcn.14009c8e0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x14010f488]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x14010f498]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x14010f4a8]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x14010f4b0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14010f4b4]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x14010f4b6]
mov byte [rsp + 0x6e], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000007
jge 0x14007bd47
dec eax
or eax, 0xfffffff8
inc eax
movsxd rbx, eax
add rbx, 8
test rbx, rbx
jle 0x14007bd8e
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x84210843
imul r8d
add edx, r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3e
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rsp + rax + 0x30]
mov byte [rbp + rdi + 0xb0], cl
inc rdi
cmp rdi, rbx
jl 0x14007bd53
cmp rbx, 0x14
jae 0x14007bebd
mov byte [rbp + rbx + 0xb0], 0
mov eax, dword [0x140111054]
mov dword [rsp + 0x24], eax
movzx eax, byte [0x140111058]
mov byte [rsp + 0x24], 0x2e
xor byte [rsp + 0x25], 0x33
xor byte [rsp + 0x26], 0x34
xor byte [rsp + 0x27], 0x35
xor al, 0x36
mov byte [rsp + 0x28], al
lea r8, [rsp + 0x24]
mov edx, 0x14
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14007be3b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007be36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007be36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e7b0
movdqa xmm0, xmmword [0x140112490]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14007be8b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007be86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007be86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009e7b0
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14009e740
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14009a530
nop
call fcn.14009ed60
int3