Function at 0x140041c10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rdi, qword [0x14011d300]
mov r14, rcx
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140041f40
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140041f40
mov rax, qword [0x14011d300]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x140041c66
inc dword [rax + 0xec]
mov rdx, qword [0x14011d2f8]
mov ecx, 0x48
call fcn.14001a610
xor ebx, ebx
mov qword [rbp + 0x28], rax
mov rsi, rax
test rax, rax
je 0x140041c9f
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 0x140041ca2
mov rsi, rbx
movdqa xmm0, xmmword [0x1400bb190]
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 - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0x10
jb 0x140041cc0
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 [0x14011d300]
mov dword [rsi + 0x28], 9
mov dword [rbp - 0x50], 0xb8a9afbd
mov dword [rbp - 0x4c], 0x93fabebc
mov rcx, qword [rax + 0x40b0]
mov dword [rbp - 0x48], 0xbcabe0f9
mov word [rbp - 0x44], 0xbd
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 - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140041d40
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0xb8a9afbd
mov qword [rbp - 0x38], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0x93fabebc
mov dword [rbp - 0x48], 0xbcabe0fe
mov word [rbp - 0x44], 0xbd
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140041d80
movdqa xmm0, xmmword [0x1400ba5c0]
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 - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0xf
jb 0x140041db0
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0xb8a9afbd
mov qword [rbp - 0x28], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0x93fabebc
mov dword [rbp - 0x48], 0xbcabe0ff
mov word [rbp - 0x44], 0xbd
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140041df0
lea rax, [rbp - 0x50]
mov dword [rbp - 0x50], 0xb8a9afbd
mov qword [rbp - 0x20], rax
mov edx, ebx
mov dword [rbp - 0x4c], 0x93fabebc
mov dword [rbp - 0x48], 0xbcabe0fc
mov word [rbp - 0x44], 0xbd
nop dword [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0xd
jb 0x140041e30
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 0x140041e82
inc rdi
cmp rdi, 5
jl 0x140041e51
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 [0x1400bafd0]
mov edx, ebx
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rsi + 0x30], r14
mov dword [rbp - 0x40], 0xbdbea2bc
mov word [rbp - 0x3c], 0xaa
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rdx - 0x3b]
inc edx
xor byte [rcx], al
cmp edx, 0x15
jb 0x140041eb0
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], 0xb8a98f9d
mov dword [rbp - 0x4c], 0xa98cbebc
mov dword [rbp - 0x48], 0xb1bb9db9
mov word [rbp - 0x44], 0xb7a5
nop word [rax + rax]
movsxd rax, ebx
lea rcx, [rbp - 0x50]
add rcx, rax
lea eax, [rbx - 0x3b]
inc ebx
xor byte [rcx], al
cmp ebx, 0xe
jb 0x140041f00
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