Function at 0x140094290
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x458
mov qword [rsp + 0x38], rcx
mov eax, 0xc3c4dedf
nop dword [rax]
mov ecx, dword [0x141dd2f28]
xor ecx, dword [0x141dd2f2c]
add ecx, 0x9d516eac
xor ecx, 0x478a2f6a
imul rcx, rax
shr rcx, 0x3f
cmp ecx, 0x81b3b77d
ja 0x1400942b0
mov ebx, 0xffffffff
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 2
mov qword [rsp + 0x50], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor edi, edi
xor eax, eax
mov qword [rsp + 0x30], rax
xor r13d, r13d
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [0x141dd2f30]
and eax, dword [0x141dd2f34]
imul eax, eax, 0x79d97aec
or eax, 0x85ce0e4b
and eax, 0xc5ff2fef
cmp eax, 0x9ee9e2c0
ja 0x140094320
mov esi, 0x200
cmp r8, 0x201
jae 0x140094360
lea r12, [rsp + 0x58]
mov r15, r8
jmp 0x1400943bc
sub r8, r14
mov eax, dword [0x141dd2f38]
xor edx, edx
div dword [0x141dd2f3c]
mov eax, dword [0x141dd2f40]
xor eax, dword [0x141dd2f44]
or eax, 0x2400100
and eax, 0x6600120
cmp eax, 0xd7809804
ja 0x140094371
sub r13, r14
cmp r8, r13
ja 0x1400944fa
mov r13, qword [rsp + 0x30]
cmp r13, rbx
mov r14d, 0xffffffff
cmovb r14, r13
mov qword [rsp + 0x50], r14
mov rsi, r14
mov r12, qword [rsp + 0x28]
mov r15, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ecx, ecx
mov rdx, r12
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebp, eax
test eax, eax
jne 0x14009440e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [0x141dd2f48]
xor ecx, dword [0x141dd2f4c]
xor ecx, 0x5411b9cc
add ecx, 0xf90accc6
or ecx, 0x8cb121d8
cmp ecx, 0xceb41f8a
ja 0x1400943e0
test eax, eax
jne 0x1400945c9
mov r8d, ebp
mov eax, dword [0x141dd2f68]
imul eax, dword [0x141dd2f6c]
add eax, 0xb1e05bb8
xor eax, 0xcbc8b621
add eax, 0xcea80100
cmp eax, 0x62f4035b
jb 0x140094411
nop word cs:[rax + rax]
mov eax, dword [0x141dd2f70]
sub eax, dword [0x141dd2f74]
add eax, 0x959d7c51
imul rcx, rax, 0x2dc3d809
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1e
cmp eax, 0x434c5fa7
ja 0x140094440
cmp r15, r8
jne 0x1400944c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140094677
lea rax, [r15 + r15]
nop word cs:[rax + rax]
mov ecx, dword [0x141dd2f80]
imul ecx, dword [0x141dd2f84]
imul ecx, ecx, 0x4885fd3a
cmp r15, 0x7fffffff
mov r8, rax
cmova r8, rbx
cmp ecx, 0x9a369ccb
je 0x140094490
jmp 0x1400944f0
mov eax, dword [0x141dd2f78]
or eax, dword [0x141dd2f7c]
mov ecx, 0xa945bd75
imul rax, rcx
shr rax, 0x3f
imul eax, eax, 0x4d1c339c
cmp eax, 0x98f864a8
ja 0x1400944c0
cmp r15, r8
jae 0x14009452f
nop dword [rax + rax]
test dil, dil
jne 0x1400944f0
jmp 0x140094320
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rsp + 0x40]
mov rdx, r14
call fcn.1400f2140
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x14009439a
cmp rsi, r8
jb 0x14009469f
mov rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.14008ea20
mov rbx, qword [rsp + 0x28]
nop word [rax + rax]
mov eax, dword [0x141dd2f90]
xor eax, dword [0x141dd2f94]
add eax, 0x35867292
xor eax, 0xcf2fe789
imul rcx, rax, 0xa9f5c9f
shr rcx, 0x20
sub eax, ecx
shr eax, 1
add eax, ecx
shr eax, 0x1f
cmp eax, 0xd2b9e054
je 0x140094550
cmp qword [rsp + 0x30], 0
je 0x1400946f0
mov rdi, qword [0x141dde6e0]
mov eax, dword [0x141dd2f98]
sub eax, dword [0x141dd2f9c]
or eax, 0x8f58c27c
mov ecx, 0xb7c07d27
imul rcx, rax
shr rcx, 0x3e
or ecx, 0x573ca169
cmp ecx, 0xf3fee5a2
jne 0x1400946a1
jmp 0x1400946da
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rsp + 0x30], 0
je 0x140094610
mov rcx, qword [0x141dde6e0]
xor edx, edx
mov r8, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax]
mov eax, dword [0x141dd2f50]
and eax, dword [0x141dd2f54]
imul rax, rax, 0x79999efb
shr rax, 0x3e
cmp eax, 0xcaf57bc6
je 0x140094610
nop
mov eax, dword [0x141dd2f58]
xor eax, dword [0x141dd2f5c]
xor eax, 0xd844f033
cmp eax, 0xdc88c126
ja 0x140094630
nop dword [rax + rax]
mov eax, dword [0x141dd2f60]
and eax, dword [0x141dd2f64]
xor eax, 0x40386204
or eax, 0xb5c19572
xor eax, 0x831985a4
cmp eax, 0xb6e91bb1
jae 0x140094650
jmp 0x140094730
ud2
ud2
mov eax, dword [0x141dd2fa0]
sub eax, dword [0x141dd2fa4]
imul rsi, rax, 0x44f12ec9
shr rsi, 0x3e
or esi, 0x29514cfa
xor esi, 0xf4964b5a
mov rcx, rdi
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, 0x92c9b866
jae 0x1400946f0
mov rcx, rdi
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400946a1
mov eax, dword [0x141dd2fa8]
xor eax, dword [0x141dd2fac]
cmp eax, 0xd1b8484f
je 0x1400946f0
nop word cs:[rax + rax]
mov eax, dword [0x141dd2fb0]
imul eax, dword [0x141dd2fb4]
imul eax, eax, 0x24b3cd7c
add eax, 0x49cc6d2d
cmp eax, 0xbd0b05a3
jb 0x140094710
nop
mov eax, dword [0x141dd2fb8]
sub eax, dword [0x141dd2fbc]
add eax, 0xc34055cf
cmp eax, 0xee633680
ja 0x140094730
add rsp, 0x458
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret