Function at 0x140040730
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 0x140040a60
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140040a60
mov rax, qword [0x14024ad10]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x140040786
inc dword [rax + 0xec]
mov rdx, qword [0x14024ad08]
mov ecx, 0x48
call fcn.140019130
xor ebx, ebx
mov qword [rbp + 0x28], rax
mov rsi, rax
test rax, rax
je 0x1400407bf
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 0x1400407c2
mov rsi, rbx
movdqa xmm0, xmmword [0x1400b6550]
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 - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0x10
jb 0x1400407e0
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], 0x9c858391
mov dword [rbp - 0x4c], 0xafde9a98
mov rcx, qword [rax + 0x40b0]
mov dword [rbp - 0x48], 0x9897dcc5
mov word [rbp - 0x44], 0x99
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 - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140040860
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x9c858391
mov qword [rbp - 0x38], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0xafde9a98
mov dword [rbp - 0x48], 0x9897dcc2
mov word [rbp - 0x44], 0x99
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x1400408a0
movdqa xmm0, xmmword [0x1400b5550]
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 - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xf
jb 0x1400408d0
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x9c858391
mov qword [rbp - 0x28], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0xafde9a98
mov dword [rbp - 0x48], 0x9897dcc3
mov word [rbp - 0x44], 0x99
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140040910
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0x9c858391
mov qword [rbp - 0x20], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0xafde9a98
mov dword [rbp - 0x48], 0x9897dcc0
mov word [rbp - 0x44], 0x99
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140040950
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 0x1400409a2
inc rdi
cmp rdi, 5
jl 0x140040971
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 [0x1400b62f0]
mov edx, ebx
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rsi + 0x30], r14
mov dword [rbp - 0x40], 0x99928e90
mov word [rbp - 0x3c], 0x8e
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x17]
inc edx
xor byte [rcx], al
cmp edx, 0x15
jb 0x1400409d0
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], 0x9c85a3b1
mov dword [rbp - 0x4c], 0x95a89a98
mov dword [rbp - 0x48], 0x9587a185
mov word [rbp - 0x44], 0x9381
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rbx - 0x17]
inc ebx
xor byte [rcx], al
cmp ebx, 0xe
jb 0x140040a20
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