Function at 0x14020d870
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2040]
mov eax, 0x2140
call fcn.14026c7e0
sub rsp, rax
movaps xmmword [rsp + 0x2130], xmm6
movaps xmmword [rsp + 0x2120], xmm7
movaps xmmword [rsp + 0x2110], xmm8
movaps xmmword [rsp + 0x2100], xmm9
movaps xmmword [rsp + 0x20f0], xmm10
movaps xmmword [rsp + 0x20e0], xmm11
movaps xmmword [rsp + 0x20d0], xmm12
mov rax, qword [0x1402af028]
xor rax, rsp
mov qword [rbp + 0x1fc0], rax
mov r12, rcx
xor r14d, r14d
mov r15, 0xffffffffffffffff
mov rbx, r15
nop dword [rax + rax]
inc rbx
cmp byte [rcx + rbx], r14b
jne 0x14020d900
call fcn.14026a9c0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rbx
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401e5c90
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rbp - 0x60]
call fcn.14026aafc
test eax, eax
jne 0x14020e643
mov rdi, qword [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140243eb0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x7c], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x74], xmm0
lea rdx, [0x1402981fc]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
mov r13d, 2
mov r8d, r13d
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbx, eax
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x28], rax
mov r9, rsi
mov r8, rbx
lea edx, [r13 - 1]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
movsxd rcx, dword [rbx + 0x3c]
mov eax, dword [rcx + rbx + 0x50]
mov qword [rsp + 0x70], rax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
movsxd rcx, dword [rbx + 0x3c]
lea rax, [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x60], rax
movzx edx, word [rcx + rbx + 0x14]
add rdx, rax
mov qword [rsp + 0x68], rdx
movzx edx, word [rcx + rbx + 6]
mov word [rsp + 0x20], dx
mov r8d, dword [rax + 0x38]
mov rbx, rdi
test rsi, rsi
je 0x14020db0f
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14020da49
cmp rcx, r8
jb 0x14020db0f
test r8, r8
je 0x14020da5d
xor edx, edx
mov rcx, rsi
call fcn.14026c5b8
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x3c]
test r8d, r8d
je 0x14020da73
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rbx, rdi
movzx eax, word [rsp + 0x20]
cmp r14w, ax
jae 0x14020dacf
mov r9, qword [rsp + 0x68]
add r9, 0x14
mov r10d, eax
mov r15, qword [rsp + 0x28]
mov edx, dword [r9 - 4]
mov r8d, dword [r9]
add r8, r15
mov eax, dword [r9 - 8]
add rax, rsi
test rdx, rdx
je 0x14020dac1
sub r8, rax
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14020dab0
add r9, 0x28
sub r10, 1
jne 0x14020da92
lea r15, [r10 - 1]
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + 0x18]
add rcx, rsi
movzx edx, word [rax + rsi + 0x14]
add rdx, 0x14
movzx r8d, word [rax + rsi + 6]
mov eax, dword [rcx + 0x20]
mov dword [rcx + 0x24], eax
cmp r14w, r8w
jae 0x14020db0f
add rcx, rdx
mov edx, r8d
nop dword [rax + rax]
mov eax, dword [rcx - 8]
mov dword [rcx], eax
lea rcx, [rcx + 0x28]
sub rdx, 1
jne 0x14020db00
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, [rsp + 0x58]
mov rcx, qword [0x1402b25f0]
call fcn.14020bc50
mov r9, rax
mov qword [rsp + 0x28], rax
movsxd r10, dword [rsi + 0x3c]
mov ecx, dword [r10 + rsi + 0x50]
add ecx, 0x2000
movzx edx, cx
mov r8d, 0x10000
sub r8, rdx
test rdx, rdx
cmove r8, r14
mov qword [rbp - 0x60], r8
mov dword [rbp - 0x64], 0xe0000000
mov rax, qword [rsp + 0x58]
add eax, 0x2000
add eax, r8d
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x78], eax
lea rcx, [0x1402af9c0]
cmp qword [0x1402af9d8], 0x10
cmovae rcx, qword [0x1402af9c0]
lea rdx, [rsp + 0x78]
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14020db92
mov eax, 0xffbf
and word [r10 + rsi + 0x5e], ax
movsxd r10, dword [rsi + 0x3c]
add r10, rsi
movzx edx, word [r10 + 0x14]
lea rcx, [r10 + 0x18]
add rcx, rdx
mov qword [rsp + 0x60], rcx
movzx r11d, word [r10 + 6]
lea rax, [r11 - 1]
lea rax, [rax + rax*4]
lea rdi, [rcx + rax*8]
mov qword [rsp + 0x68], rdi
mov ecx, dword [rcx + 0x14]
lea rax, [rdx + 0x28]
cmp rax, rcx
ja 0x14020dcb7
mov r9d, dword [r10 + 0x38]
mov ecx, dword [rdi + 0xc]
add ecx, dword [rdi + 8]
xor edx, edx
mov eax, ecx
div r9d
test edx, edx
je 0x14020dc04
sub r9d, edx
add ecx, r9d
mov dword [rbp - 0x7c], ecx
mov edi, dword [r10 + 0x3c]
mov rax, qword [rsp + 0x68]
mov r9d, dword [rax + 0x14]
add r9d, dword [rax + 0x10]
xor edx, edx
mov eax, r9d
div edi
test edx, edx
je 0x14020dc28
sub edi, edx
add r9d, edi
mov dword [rbp - 0x74], r9d
lea eax, [r11 + 1]
mov word [r10 + 6], ax
lea rax, [r11 + r11*4]
mov rdx, qword [rsp + 0x60]
lea rdx, [rdx + rax*8]
lea rax, [rdx + 0x27]
lea r9, [rbp - 0x61]
cmp rdx, r9
ja 0x14020dc75
lea r9, [rsp + 0x78]
cmp rax, r9
jb 0x14020dc75
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rdx + 0x20], xmm0
jmp 0x14020dc8f
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rdx + 0x20], xmm0
mov r11d, dword [r10 + 0x38]
mov r9d, dword [rbp - 0x80]
add r9d, ecx
xor edx, edx
mov eax, r9d
div r11d
test edx, edx
je 0x14020dcac
sub r11d, edx
add r9d, r11d
mov dword [r10 + 0x50], r9d
mov r9, qword [rsp + 0x28]
jmp 0x14020dcba
mov ecx, dword [rbp - 0x7c]
mov edx, ecx
lea r10, [r8 + 0x2000]
add r10, rdx
movsxd rax, dword [r9 + 0x3c]
mov r8d, dword [rax + r9 + 0x28]
movsxd rax, dword [rsi + 0x3c]
mov r9d, dword [rax + rsi + 0x28]
test ecx, ecx
je 0x14020dce0
mov dword [rax + rsi + 0x28], ecx
mov qword [0x1402af133], r9
mov qword [0x1402af13b], r10
lea rax, [r10 + r8]
mov qword [0x1402af143], rax
lea rax, [rdx + 0x400]
mov qword [0x1402af14b], rax
lea rax, [rdx + 0x800]
mov qword [0x1402af153], rax
lea rax, [rdx + 0xc00]
mov qword [0x1402af15b], rax
lea rax, [rdx + 0x1000]
mov qword [0x1402af163], rax
lea rax, [rdx + 0x1400]
mov qword [0x1402af16b], rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1402af050]
mov rax, r13
nop dword [rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x14020dd50
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [rdx + 0x20]
mov word [rcx + 0x20], ax
movzx eax, byte [rdx + 0x22]
mov byte [rcx + 0x22], al
lea rcx, [rbp + 0x3c0]
lea rdx, str.AWAVAUATVWUSH
mov rax, r13
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x14020ddd0
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rdx + 0x30]
mov qword [rcx + 0x30], rax
movzx eax, byte [rdx + 0x38]
mov byte [rcx + 0x38], al
lea rax, [rbp + 0x7c0]
lea rcx, [0x1402af1f0]
mov edx, 7
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x14020de60
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [str.AVVWSH]
movups xmmword [rbp + 0xbc0], xmm0
movups xmm1, xmmword [0x1402af190]
movups xmmword [rbp + 0xbd0], xmm1
movups xmm0, xmmword [0x1402af1a0]
movups xmmword [rbp + 0xbe0], xmm0
movups xmm1, xmmword [0x1402af1b0]
movups xmmword [rbp + 0xbf0], xmm1
movups xmm0, xmmword [0x1402af1c0]
movups xmmword [rbp + 0xc00], xmm0
movups xmm1, xmmword [0x1402af1d0]
movups xmmword [rbp + 0xc10], xmm1
movsd xmm0, qword [0x1402af1e0]
movsd qword [rbp + 0xc20], xmm0
lea rcx, [rbp + 0xfc0]
lea rdx, [0x1402af6d0]
mov rax, r13
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub rax, 1
jne 0x14020df40
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
mov rax, qword [rdx + 0x40]
mov qword [rcx + 0x40], rax
mov eax, dword [rdx + 0x48]
mov dword [rcx + 0x48], eax
lea rcx, [rbp + 0x13c0]
lea rdx, str.AWAVVWUSH
nop dword [rax]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
sub r13, 1
jne 0x14020dfd0
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rdx + 0x50]
mov qword [rcx + 0x50], rax
mov eax, dword [rdx + 0x58]
mov dword [rcx + 0x58], eax
mov eax, dword [str.7_bKuu]
mov dword [rsp + 0x20], eax
lea ecx, [r13 + 6]
lea edx, [rcx + 0x19]
mov r13d, dword [0x1402af008]
cmp byte [0x14029c277], 0
je 0x14020e1e2
cmp r13d, 2
jl 0x14020e17b
movd xmm5, ecx
movd xmm7, edx
movdqa xmm8, xmmword [0x14029d7a0]
movdqa xmm4, xmm8
punpckldq xmm4, xmm8
movdqa xmm2, xmm8
punpckhdq xmm2, xmm8
movdqa xmm6, xmm4
pmuldq xmm6, xmmword [0x14029d8a0]
movdqa xmm0, xmm2
pmuldq xmm0, xmmword [0x14029d8a0]
shufps xmm6, xmm0, 0xdd
paddd xmm6, xmm8
psrad xmm6, xmm5
pmuldq xmm4, xmmword [0x14029d890]
pmuldq xmm2, xmmword [0x14029d890]
shufps xmm4, xmm2, 0xdd
psubd xmm4, xmm8
psrad xmm4, xmm5
movdqa xmm1, xmm4
psrld xmm1, xmm7
paddd xmm1, xmm4
pmulld xmm1, xmmword [0x14029d8b0]
movdqa xmm0, xmm8
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm6
psrld xmm0, xmm7
paddd xmm0, xmm6
pmulld xmm0, xmmword [0x14029d7d0]
psubd xmm8, xmm0
pshuflw xmm0, xmm8, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movd xmm0, eax
pxor xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x14020e1e2
lea r10, [rsp + 0x20]
mov r9d, r14d
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x45
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 4
jl 0x14020e190
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x14020e54a
movups xmm0, xmmword [0x14029bea0]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [str._f_v_fK_v]
movups xmmword [rsp + 0x40], xmm1
movzx eax, word [0x14029bec0]
mov word [rsp + 0x50], ax
cmp r13d, 2
jl 0x14020e449
movdqa xmm10, xmmword [0x14029d7a0]
movdqa xmm6, xmmword [0x14029d8a0]
mov eax, 6
movd xmm7, eax
movdqa xmm8, xmmword [0x14029d890]
movdqa xmm11, xmmword [0x14029d8b0]
mov eax, 0x1f
movd xmm9, eax
movdqa xmm12, xmmword [0x14029d7d0]
movdqa xmm0, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rbp - 0x60]
nop
movd xmm5, r14d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm11
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm12
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm3, xmm0
movd dword [rcx - 4], xmm3
lea eax, [r14 + 4]
movd xmm5, eax
pshufd xmm5, xmm5, 0
paddd xmm5, xmm10
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm7
movdqa xmm1, xmm2
psrld xmm1, xmm9
paddd xmm1, xmm2
pmulld xmm1, xmm11
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm9
paddd xmm0, xmm4
pmulld xmm0, xmm12
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
movd xmm0, edx
paddb xmm3, xmm0
movd xmm0, dword [rcx]
pxor xmm3, xmm0
movd dword [rcx], xmm3
add r14d, 8
mov eax, r14d
lea rcx, [rcx + 8]
cmp r14d, 0x20
jl 0x14020e280
cmp eax, 0x22
jge 0x14020e4b4
movsxd rax, r14d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r14d
add edx, r14d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
mov eax, 0x5f5f5f5f
imul r14d
sub edx, r14d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x33
sub r8b, cl
add r8b, r14b
add r8b, r8b
add r8b, 0x45
xor byte [r9], r8b
inc r14d
lea r9, [r9 + 1]
cmp r14d, 0x22
jl 0x14020e460
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140245fc0
mov rdx, r12
mov rcx, rax
call fcn.140245fc0
lea rdx, [0x140246190]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, r15d
mov rcx, qword [rbp + 0x1fc0]
xor rcx, rsp
call fcn.14026b460
lea r11, [rsp + 0x2140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rdi
mov r8, qword [rsp + 0x70]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, rdi
mov edx, 1
mov r8d, 0x2000
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r13, qword [rbp - 0x60]
test r13, r13
je 0x14020e5a3
nop
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
inc r14
cmp r14, r13
jb 0x14020e590
mov r9, rdi
mov r8, qword [rsp + 0x58]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop dword [rax + rax]
inc r15
cmp byte [r12 + r15], 0
jne 0x14020e5e0
call fcn.14026a9c0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r15
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401e5c90
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14026ae7c
test eax, eax
jne 0x14020e636
lea rcx, [rsp + 0x30]
call fcn.140243eb0
xor eax, eax
jmp 0x14020e4f7
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.1401e6200
nop
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.1401e6200
int3