Function at 0x140040750
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rdi, qword [0x14024ad10]
mov r14, rcx
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140040a80
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140040a80
mov rax, qword [0x14024ad10]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1400407a6
inc dword [rax + 0xec]
mov rdx, qword [0x14024ad08]
mov ecx, 0x48
call fcn.140019150
xor ebx, ebx
mov qword [rbp + 0x28], rax
mov rsi, rax
test rax, rax
je 0x1400407df
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], rax
jmp 0x1400407e2
mov rsi, rbx
movdqa xmm0, xmmword [0x1400b5c30]
xor eax, eax
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x40], al
mov edx, ebx
mov qword [rdi + 0x90], rsi
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0x10
jb 0x140040800
or dword [rdi + 0xc], 6
lea rax, [rbp - 0x50]
mov qword [rdi + 0x80], rax
mov edx, ebx
mov qword [rsi], r14
mov byte [rsi + 0x2d], 1
mov rax, qword [rbp + 0x30]
mov qword [rsi + 0x20], rax
mov rax, qword [rbp + 0x38]
mov qword [rsi + 0x18], rax
mov rax, qword [0x14024ad10]
mov dword [rsi + 0x28], 9
mov dword [rbp - 0x50], 0x17080c1c
mov dword [rbp - 0x4c], 0x345b1d1d
mov rcx, qword [rax + 0x40b0]
mov dword [rbp - 0x48], 0x30a4358
mov word [rbp - 0x44], 0x1c
mov rax, qword [rcx]
mov qword [rax + 0x28], r14
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140040880
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x17080c1c
mov qword [rbp - 0x38], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0x345b1d1d
mov dword [rbp - 0x48], 0x30a435f
mov word [rbp - 0x44], 0x1c
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x1400408c0
movdqa xmm0, xmmword [0x1400b5540]
lea rax, [rbp - 0x50]
mov qword [rbp - 0x30], rax
mov edx, ebx
movdqu xmmword [rbp - 0x50], xmm0
nop dword [rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0xf
jb 0x1400408f0
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x17080c1c
mov qword [rbp - 0x28], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0x345b1d1d
mov dword [rbp - 0x48], 0x30a435e
mov word [rbp - 0x44], 0x1c
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140040930
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x17080c1c
mov qword [rbp - 0x20], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0x345b1d1d
mov dword [rbp - 0x48], 0x30a435d
mov word [rbp - 0x44], 0x1c
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140040970
lea rax, [rbp - 0x50]
mov rdi, rbx
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp + rdi*8 - 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x1400409c2
inc rdi
cmp rdi, 5
jl 0x140040991
mov rsi, qword [rsp + 0x60]
mov al, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x70
pop r14
pop rdi
pop rbp
ret
movdqa xmm0, xmmword [0x1400b57d0]
mov edx, ebx
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rsi + 0x30], r14
mov dword [rbp - 0x40], 0x121f011d
mov word [rbp - 0x3c], 0xb
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx + 0x64]
inc edx
xor byte [rcx], al
cmp edx, 0x15
jb 0x1400409f0
lea rdx, [rbp - 0x50]
mov byte [rbp - 0x3b], bl
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
xor eax, eax
mov byte [rbp - 0x42], al
mov dword [rbp - 0x50], 0x17082c3c
mov dword [rbp - 0x4c], 0xe2d1d1d
mov dword [rbp - 0x48], 0xe1a3e18
mov word [rbp - 0x44], 0x1404
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rbx + 0x64]
inc ebx
xor byte [rcx], al
cmp ebx, 0xe
jb 0x140040a40
lea rdx, [rbp - 0x50]
mov byte [rbp - 0x42], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x68]
mov qword [rsi + 0x40], rax
mov al, 1
mov rsi, qword [rsp + 0x60]
add rsp, 0x70
pop r14
pop rdi
pop rbp
ret
xor al, al
add rsp, 0x70
pop r14
pop rdi
pop rbp
ret