Function at 0x1401e4120
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 - 0x2050]
mov eax, 0x2150
call fcn.140242000
sub rsp, rax
movaps xmmword [rsp + 0x2140], xmm6
movaps xmmword [rsp + 0x2130], xmm7
movaps xmmword [rsp + 0x2120], xmm8
movaps xmmword [rsp + 0x2110], xmm9
movaps xmmword [rsp + 0x2100], xmm10
movaps xmmword [rsp + 0x20f0], xmm11
movaps xmmword [rsp + 0x20e0], xmm12
movaps xmmword [rsp + 0x20d0], xmm13
mov rax, qword [0x140284028]
xor rax, rsp
mov qword [rbp + 0x1fc0], rax
mov r12, rcx
xor r14d, r14d
mov r15, 0xffffffffffffffff
mov rbx, r15
inc rbx
cmp byte [rcx + rbx], r14b
jne 0x1401e41b4
call fcn.1402401c0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401bbd40
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rsp + 0x70]
call fcn.1402402fc
test eax, eax
jne 0x1401e5136
mov rbx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.140219830
mov qword [rsp + 0x58], r14
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x64], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x5c], xmm0
lea rdx, [0x14026d1dc]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rsi, rax
xor edx, edx
lea r8d, [rdx + 2]
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 rdi, 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, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov r9, rsi
mov r8, rdi
mov edx, 1
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 [r13 + 0x3c]
mov eax, dword [rcx + r13 + 0x50]
mov qword [rsp + 0x60], rax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
movsxd rcx, dword [r13 + 0x3c]
lea rax, [r13 + 0x18]
add rax, rcx
mov qword [rsp + 0x28], rax
movzx edx, word [rcx + r13 + 0x14]
add rdx, rax
mov qword [rsp + 0x70], rdx
movzx edx, word [rcx + r13 + 6]
mov word [rsp + 0x20], dx
mov r8d, dword [rax + 0x38]
mov rdi, rbx
test rsi, rsi
je 0x1401e43bf
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401e42fb
cmp rcx, r8
jb 0x1401e43bf
test r8, r8
je 0x1401e430f
xor edx, edx
mov rcx, rsi
call fcn.140241de8
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + 0x3c]
test r8d, r8d
je 0x1401e4323
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdi, rbx
movzx eax, word [rsp + 0x20]
cmp r14w, ax
jae 0x1401e437b
mov r9, qword [rsp + 0x70]
add r9, 0x14
mov r10d, eax
nop dword [rax]
mov edx, dword [r9 - 4]
mov r8d, dword [r9]
add r8, r13
mov eax, dword [r9 - 8]
add rax, rsi
test rdx, rdx
je 0x1401e4371
sub r8, rax
nop dword [rax]
movzx ecx, byte [r8 + rax]
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1401e4360
add r9, 0x28
sub r10, 1
jne 0x1401e4340
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 0x1401e43bf
add rcx, rdx
mov edx, r8d
nop word [rax + rax]
mov eax, dword [rcx - 8]
mov dword [rcx], eax
lea rcx, [rcx + 0x28]
sub rdx, 1
jne 0x1401e43b0
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, [rsp + 0x58]
mov rcx, qword [0x14028f5b8]
call fcn.1401e2240
mov r11, rax
mov qword [rsp + 0x28], rax
movsxd rbx, dword [rsi + 0x3c]
mov ecx, dword [rbx + rsi + 0x50]
add ecx, 0x2000
movzx edx, cx
mov r13d, 0x10000
sub r13, rdx
test rdx, rdx
cmove r13, r14
mov dword [rbp - 0x4c], 0xe0000000
mov rax, qword [rsp + 0x58]
add eax, 0x2000
add eax, r13d
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x60], eax
mov rax, qword [str.l6__8_PqvqH]
mov qword [rsp + 0x20], rax
mov ecx, 3
lea edx, [rcx + 3]
lea r8d, [rcx + 0x1c]
mov eax, dword [0x140284008]
cmp byte [0x14026ffcf], 0
je 0x1401e4684
cmp eax, 2
jl 0x1401e461b
movdqa xmm6, xmmword [0x1402728d0]
movd xmm7, ecx
movdqa xmm8, xmmword [0x140272910]
movd xmm9, edx
movd xmm11, r8d
movdqa xmm5, xmmword [0x140272810]
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
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402728c0]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm11
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x140272840]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402728c0]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.BBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC]
movd xmm0, dword [rsp + 0x20]
pxor xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm5, xmmword [0x140272830]
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
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402728c0]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm11
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x140272840]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402728c0]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.BBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC]
movd xmm0, dword [rsp + 0x24]
pxor xmm3, xmm0
movd dword [rsp + 0x24], xmm3
jmp 0x1401e4684
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 ecx, eax, 0x39
movzx r8d, r9b
sub r8b, cl
add r8b, 0x21
add r8b, r8b
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub r8b, cl
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x1401e4630
mov rcx, r14
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rbp + rcx - 0x70], al
lea rcx, [rcx + 1]
test al, al
jne 0x1401e4690
mov eax, 0xffbf
and word [rbx + rsi + 0x5e], ax
movsxd r9, dword [rsi + 0x3c]
add r9, rsi
movzx edx, word [r9 + 0x14]
lea rcx, [r9 + 0x18]
add rcx, rdx
mov qword [rsp + 0x70], rcx
movzx r10d, word [r9 + 6]
lea rax, [r10 + r10*4]
lea rbx, [rcx + rax*8]
mov ecx, dword [rcx + 0x14]
lea rax, [rdx + 0x28]
cmp rax, rcx
ja 0x1401e47a8
mov r8d, dword [r9 + 0x38]
mov ecx, dword [rbx - 0x1c]
add ecx, dword [rbx - 0x20]
xor edx, edx
mov eax, ecx
div r8d
test edx, edx
je 0x1401e46fb
sub r8d, edx
add ecx, r8d
mov dword [rbp - 0x64], ecx
mov r11d, dword [r9 + 0x3c]
mov r8d, dword [rbx - 0x14]
add r8d, dword [rbx - 0x18]
xor edx, edx
mov eax, r8d
div r11d
test edx, edx
je 0x1401e471c
sub r11d, edx
add r8d, r11d
mov dword [rbp - 0x5c], r8d
lea eax, [r10 + 1]
mov word [r9 + 6], ax
lea rax, [r10 + r10*4]
mov rdx, qword [rsp + 0x70]
lea rdx, [rdx + rax*8]
lea rax, [rdx + 0x27]
lea r8, [rbp - 0x49]
cmp rdx, r8
ja 0x1401e4767
lea r8, [rbp - 0x70]
cmp rax, r8
jb 0x1401e4767
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x50]
movsd qword [rdx + 0x20], xmm0
jmp 0x1401e4780
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rbp - 0x50]
movsd qword [rdx + 0x20], xmm0
mov r10d, dword [r9 + 0x38]
mov r8d, dword [rbp - 0x68]
add r8d, ecx
xor edx, edx
mov eax, r8d
div r10d
test edx, edx
je 0x1401e479d
sub r10d, edx
add r8d, r10d
mov dword [r9 + 0x50], r8d
mov r11, qword [rsp + 0x28]
jmp 0x1401e47ab
mov ecx, dword [rbp - 0x64]
mov edx, ecx
lea r8, [r13 + 0x2000]
add r8, rdx
movsxd rax, dword [r11 + 0x3c]
mov r9d, dword [rax + r11 + 0x28]
movsxd rax, dword [rsi + 0x3c]
mov r10d, dword [rax + rsi + 0x28]
test ecx, ecx
je 0x1401e47d1
mov dword [rax + rsi + 0x28], ecx
mov qword [0x140284133], r10
mov qword [0x14028413b], r8
lea rax, [r8 + r9]
mov qword [0x140284143], rax
lea rax, [rdx + 0x400]
mov qword [0x14028414b], rax
lea rax, [rdx + 0x800]
mov qword [0x140284153], rax
lea rax, [rdx + 0xc00]
mov qword [0x14028415b], rax
lea rax, [rdx + 0x1000]
mov qword [0x140284163], rax
lea rax, [rdx + 0x1400]
mov qword [0x14028416b], rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140284050]
mov r8d, 2
mov eax, r8d
nop dword [rax]
nop dword [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 0x1401e4850
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, r8
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 0x1401e48d0
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, [0x14028c400]
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 0x1401e4960
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 [0x14028c3a0]
movups xmmword [rbp + 0xbd0], xmm1
movups xmm0, xmmword [0x14028c3b0]
movups xmmword [rbp + 0xbe0], xmm0
movups xmm1, xmmword [0x14028c3c0]
movups xmmword [rbp + 0xbf0], xmm1
movups xmm0, xmmword [0x14028c3d0]
movups xmmword [rbp + 0xc00], xmm0
movups xmm1, xmmword [0x14028c3e0]
movups xmmword [rbp + 0xc10], xmm1
movsd xmm0, qword [0x14028c3f0]
movsd qword [rbp + 0xc20], xmm0
lea rcx, [rbp + 0xfc0]
lea rdx, [0x14028c8e0]
mov rax, r8
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 0x1401e4a40
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 r8, 1
jne 0x1401e4ad0
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.0mHrutxxtN]
mov dword [rsp + 0x20], eax
cmp byte [0x140270daf], r8b
je 0x1401e4cd4
cmp dword [0x140284008], 2
jl 0x1401e4c75
mov ecx, 0x1f
movd xmm6, ecx
movdqa xmm7, xmmword [0x140272810]
movdqa xmm4, xmm7
punpckldq xmm4, xmm7
movdqa xmm2, xmm7
punpckhdq xmm2, xmm7
movdqa xmm5, xmm4
pmuldq xmm5, xmmword [0x1402728d0]
movdqa xmm0, xmm2
pmuldq xmm0, xmmword [0x1402728d0]
shufps xmm5, xmm0, 0xdd
mov ecx, 3
movd xmm0, ecx
psrad xmm5, xmm0
pmuldq xmm4, xmmword [0x140272910]
pmuldq xmm2, xmmword [0x140272910]
shufps xmm4, xmm2, 0xdd
psubd xmm4, xmm7
mov ecx, 6
movd xmm0, ecx
psrad xmm4, xmm0
movdqa xmm1, xmm4
psrld xmm1, xmm6
paddd xmm1, xmm4
pmulld xmm1, xmmword [0x140272920]
movdqa xmm0, xmm7
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402728c0]
packuswb xmm3, xmm3
movdqa xmm0, xmm5
psrld xmm0, xmm6
paddd xmm0, xmm5
pmulld xmm0, xmmword [0x140272840]
psubd xmm7, xmm0
pshuflw xmm0, xmm7, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402728c0]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.BBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC]
movd xmm0, eax
pxor xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x1401e4cd4
lea r10, [rsp + 0x20]
mov r9d, r14d
nop dword [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 ecx, eax, 0x39
movzx r8d, r9b
sub r8b, cl
add r8b, 0x21
add r8b, r8b
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub r8b, cl
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 4
jl 0x1401e4c80
lea rdx, [rsp + 0x20]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
jne 0x1401e5040
movups xmm0, xmmword [0x140271af0]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x140271b00]
movups xmmword [rsp + 0x40], xmm1
movzx eax, word [0x140271b10]
mov word [rsp + 0x50], ax
cmp dword [0x140284008], 2
jl 0x1401e4f41
movdqa xmm9, xmmword [0x140272810]
movdqa xmm6, xmmword [0x1402728d0]
mov eax, 3
movd xmm10, eax
movdqa xmm7, xmmword [0x140272910]
mov eax, 6
movd xmm11, eax
movdqa xmm12, xmmword [0x140272920]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm13, xmmword [0x140272840]
movdqa xmm0, xmmword [str.BBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x70]
nop
movd xmm5, r14d
pshufd xmm5, xmm5, 0
paddd xmm5, xmm9
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
psrad xmm4, xmm10
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402728c0]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm8
paddd xmm0, xmm4
pmulld xmm0, xmm13
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402728c0]
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, xmm9
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
psrad xmm4, xmm10
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm11
movdqa xmm1, xmm2
psrld xmm1, xmm8
paddd xmm1, xmm2
pmulld xmm1, xmm12
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402728c0]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm8
paddd xmm0, xmm4
pmulld xmm0, xmm13
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402728c0]
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 0x1401e4d80
cmp eax, 0x22
jge 0x1401e4fa5
movsxd rax, r14d
lea r10, [rsp + 0x30]
add r10, rax
nop dword [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
movzx r9d, r14b
sub r9b, cl
add r9b, 0x21
add r9b, r9b
mov eax, 0x13e22cbd
imul r14d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x67
sub r9b, r8b
xor byte [r10], r9b
inc r14d
lea r10, [r10 + 1]
cmp r14d, 0x22
jl 0x1401e4f50
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.14021b940
mov rdx, r12
mov rcx, rax
call fcn.14021b940
lea rdx, [0x14021bb10]
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.140240c60
lea r11, [rsp + 0x2150]
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]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rbx
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, rbx
mov edx, 1
mov r8d, 0x2000
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test r13, r13
je 0x1401e5094
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
inc r14
cmp r14, r13
jb 0x1401e5081
mov r9, rbx
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, rbx
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]
inc r15
cmp byte [r12 + r15], 0
jne 0x1401e50d0
call fcn.1402401c0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401bbd40
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, rdi
call fcn.14024067c
test eax, eax
jne 0x1401e5129
lea rcx, [rsp + 0x30]
call fcn.140219830
xor eax, eax
jmp 0x1401e4fe8
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.1401bc2b0
nop
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.1401bc2b0
int3