Function at 0x14008d0e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x18], r8
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov eax, dword [0x140109718]
sub eax, dword [0x14010971c]
mov ecx, 0xe1afdcbe
xor edx, edx
div ecx
add eax, 0x398a0d6a
add eax, 0x46cfe7c6
cmp eax, 0xd1810b0
jbe 0x14008d6b1
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov eax, dword [0x140109720]
mov edx, dword [0x140109724]
sub eax, edx
xor eax, 0x6eb81ab9
add eax, 0x986c5d90
xor eax, 0x3aee29f6
mov dword [rbp - 0x28], eax
mov eax, 0x10
mov qword [rbp - 0x50], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov r11, rsp
mov qword [rbp - 0x30], r11
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov r9, rsp
mov qword [rbp - 0x70], r9
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdx, rsp
mov qword [rbp - 0x68], rdx
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdi, rsp
mov qword [rbp - 0x40], rdi
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdi, rsp
mov qword [rbp - 0x60], rdi
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdi, rsp
mov qword [rbp - 0x58], rdi
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdi, rsp
mov qword [rbp - 0x48], rdi
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x40]
mov rdi, rsp
mov qword [rbp - 0x38], rdi
mov qword [r11], rsi
mov qword [r9], r10
mov qword [rdx], r8
mov qword [rax], rcx
mov rcx, qword [0x140117e20]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x28]
add rsp, 0x20
cmp qword [rcx], 0
setne cl
mov byte [rbp - 0x21], cl
cmp eax, 0xad4e3590
jbe 0x14008d6b1
mov al, byte [rbp - 0x21]
test al, 1
jne 0x14008d24a
jmp 0x14008d401
mov eax, dword [0x140109728]
or eax, dword [0x14010972c]
sub eax, 0x6ce32bf0
sub eax, 0x5a494f7d
and eax, 0x8ea7dcf2
cmp eax, 0xb8c0a26a
je 0x14008d728
mov rcx, qword [rbp - 0x68]
mov eax, dword [0x140109730]
add eax, dword [0x140109734]
imul eax, eax, 0x576e573c
or eax, 0xa01902c3
or eax, 0x9790d300
cmp qword [rcx], 0
setne cl
mov byte [rbp - 0x71], cl
cmp eax, 0xdcccbe32
jae 0x14008d270
mov al, byte [rbp - 0x71]
test al, 1
jne 0x14008d2b5
jmp 0x14008d401
mov eax, dword [0x140109738]
and eax, dword [0x14010973c]
imul eax, eax, 0x17e6d2ae
sub eax, 0x40451151
or eax, 0x84412d9b
cmp eax, 0x1d72cfe
jb 0x14008d72d
mov rcx, qword [rbp - 0x70]
mov eax, dword [0x140109740]
and eax, dword [0x140109744]
sub eax, 0xc78ace03
xor eax, 0x4570da8c
sub eax, 0x4bca973
cmp qword [rcx], 0
setne cl
mov byte [rbp - 0x72], cl
cmp eax, 0x4bf90e8b
jbe 0x14008d2dc
mov al, byte [rbp - 0x72]
test al, 1
jne 0x14008d320
jmp 0x14008d401
mov eax, dword [0x140109748]
xor eax, dword [0x14010974c]
xor eax, 0x7fd5b6f0
mov ecx, 0x3c1d276d
xor edx, edx
div ecx
sub eax, 0x70796028
cmp eax, 0xaf3da87d
ja 0x14008d732
mov rcx, qword [rbp - 0x30]
mov eax, dword [0x140109750]
sub eax, dword [0x140109754]
or eax, 0x87b7468a
or eax, 0x797b44c1
imul eax, eax, 0xc9074e1b
mov rcx, qword [rcx]
cmp qword [rcx + 0x18], 0
setne cl
mov byte [rbp - 0x73], cl
cmp eax, 0xbd6cf2d1
jae 0x14008d34a
mov al, byte [rbp - 0x73]
test al, 1
jne 0x14008d393
jmp 0x14008d401
mov eax, dword [0x140109758]
add eax, dword [0x14010975c]
add eax, 0x2ca37fb7
xor eax, 0xd5a68d20
and eax, 0x7728e5b8
cmp eax, 0xda4c50fa
ja 0x14008d737
mov rcx, qword [rbp - 0x30]
mov eax, dword [0x140109760]
sub eax, dword [0x140109764]
sub eax, 0xd1e51dbe
and eax, 0x5edfe8e9
sub eax, 0x674671da
mov rcx, qword [rcx]
cmp qword [rcx + 0x28], 0
setne cl
mov byte [rbp - 0x74], cl
cmp eax, 0x55112f57
jb 0x14008d737
mov al, byte [rbp - 0x74]
test al, 1
jne 0x14008d41b
jmp 0x14008d401
mov rcx, qword [0x140117e20]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
jmp 0x14008d6aa
mov eax, dword [0x140109768]
add eax, dword [0x14010976c]
sub eax, 0x458b1fbd
sub eax, 0xeb5b1756
sub eax, 0x4ea30ea8
cmp eax, 0x619cf0b2
jbe 0x14008d73c
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
mov r8d, dword [0x140109770]
add r8d, dword [0x140109774]
and r8d, 0x66b0c4d8
xor r8d, 0x29a9e242
add r8d, 0x3802e96c
mov dword [rbp - 0x78], r8d
mov r8, qword [rax]
mov r8, qword [r8 + 0x28]
mov qword [rdx], r8
mov r8, qword [rax]
mov r8, qword [r8 + 0x28]
mov r9, qword [r8 + 0x18]
mov r8, qword [rax]
mov qword [r8 + 0x28], r9
mov rcx, qword [rcx]
mov rdx, qword [rdx]
mov r8, qword [rax]
add r8, 8
sub rsp, 0x20
call fcn.14008bce0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x30]
add rsp, 0x20
mov rcx, qword [rcx]
add rcx, 0x20
mov rdx, qword [rdx]
mov rax, qword [rax]
mov eax, dword [rax + 4]
mov r8d, eax
sub rsp, 0x20
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x30]
add rsp, 0x20
mov r8, qword [rdx]
mov rdx, qword [rax]
mov qword [rdx + 0x10], r8
mov rdx, qword [rax]
mov qword [rdx + 0x18], 0
mov rcx, qword [rcx]
mov rdx, qword [rax]
sub rsp, 0x20
call fcn.14008c230
mov rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x48]
add rsp, 0x20
mov r9d, eax
mov eax, dword [rbp - 0x78]
mov dword [r8], r9d
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x18]
mov r8d, dword [r8]
shl r8, 3
add rdx, r8
mov qword [rcx], rdx
cmp eax, 0xcb516a3a
je 0x14008d441
jmp 0x14008d543
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x48]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rcx], rax
cmp rax, 0
je 0x14008d664
mov rax, qword [rbp - 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov rcx, qword [0x140117de0]
cmp rax, qword [rcx + 0x178]
jl 0x14008d5ad
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
mov rax, qword [rax]
mov rcx, qword [rcx]
movups xmm1, xmmword [rcx]
movups xmm0, xmmword [rax]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
sub eax, 0xffff
setne al
movzx eax, al
cmp eax, 0
jne 0x14008d5ee
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x48]
mov r8, qword [rcx]
mov r8, qword [r8 + 0x18]
mov rdx, qword [rdx]
mov qword [rdx], r8
mov rdx, qword [rcx]
mov qword [rdx + 0x10], 0
mov rdx, qword [rax]
mov r8, qword [rdx + 0x28]
mov rdx, qword [rcx]
mov qword [rdx + 0x18], r8
mov rcx, qword [rcx]
mov rax, qword [rax]
mov qword [rax + 0x28], rcx
jmp 0x14008d65f
mov eax, dword [0x140109778]
xor edx, edx
div dword [0x14010977c]
sub eax, 0xfeaa18f0
and eax, 0x7123711a
or eax, 0xdc8b4cd0
cmp eax, 0xc535561f
je 0x14008d808
mov rcx, qword [rbp - 0x48]
mov eax, dword [0x140109780]
add eax, dword [0x140109784]
mov r8d, 0x63bcb864
xor edx, edx
div r8d
mov r8d, 0x74312c76
xor edx, edx
div r8d
mov rdx, qword [rbp - 0x58]
and eax, 0x34702ec0
mov rdx, qword [rdx]
add rdx, 0x18
mov qword [rcx], rdx
cmp eax, 0x32528748
ja 0x14008d808
jmp 0x14008d65f
jmp 0x14008d543
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rax]
mov r8, qword [r8 + 0x18]
mov r9d, dword [rcx]
mov r9, qword [r8 + r9*8]
mov r8, qword [rdx]
mov qword [r8 + 0x18], r9
mov rdx, qword [rdx]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov ecx, dword [rcx]
mov qword [rax + rcx*8], rdx
mov rcx, qword [0x140117e20]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
mov rsp, rbp
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov eax, 0x10
mov qword [rbp - 0x80], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x80]
mov r11, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x80]
mov r9, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x80]
mov rdx, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, rsp
mov qword [r11], rsi
mov qword [r9], r10
mov qword [rdx], r8
mov qword [rax], rcx
mov rcx, qword [0x140117e20]
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add rsp, 0x20
jmp 0x14008d12c
jmp 0x14008d270
jmp 0x14008d2dc
jmp 0x14008d34a
jmp 0x14008d3b9
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x70]
mov r8, qword [rax]
mov r8, qword [r8 + 0x28]
mov qword [rdx], r8
mov r8, qword [rax]
mov r8, qword [r8 + 0x28]
mov r9, qword [r8 + 0x18]
mov r8, qword [rax]
mov qword [r8 + 0x28], r9
mov rcx, qword [rcx]
mov rdx, qword [rdx]
mov r8, qword [rax]
add r8, 8
sub rsp, 0x20
call fcn.14008bce0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x30]
add rsp, 0x20
mov rcx, qword [rcx]
add rcx, 0x20
mov rdx, qword [rdx]
mov rax, qword [rax]
mov eax, dword [rax + 4]
mov r8d, eax
sub rsp, 0x20
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x30]
add rsp, 0x20
mov r8, qword [rdx]
mov rdx, qword [rax]
mov qword [rdx + 0x10], r8
mov rdx, qword [rax]
mov qword [rdx + 0x18], 0
mov rcx, qword [rcx]
mov rdx, qword [rax]
sub rsp, 0x20
call fcn.14008c230
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
add rsp, 0x20
mov r8d, eax
mov rax, qword [rbp - 0x48]
mov dword [rdx], r8d
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rdx]
shl rdx, 3
add rcx, rdx
mov qword [rax], rcx
jmp 0x14008d441
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x58]
mov rcx, qword [rcx]
add rcx, 0x18
mov qword [rax], rcx
jmp 0x14008d616