Function at 0x140006a10
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x128
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14013f840]
mov edx, 2
lea rax, [rsp + 0x20]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140006a40
add rsp, 0x128
jmp fcn.140006820
sub rsp, 0x38
movzx eax, word [0x1400db1e4]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1400db1e6]
xor byte [rsp + 0x41], 0x37
xor al, 0x38
cmp byte [0x1400dad77], 0
mov byte [rsp + 0x42], al
mov rax, qword [0x1400dad70]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], WSACleanup
je 0x140006c3d
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140006c01
movdqa xmm2, xmmword [0x1400e0c20]
mov eax, 4
movdqa xmm4, xmmword [0x1400e10e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400e0c30]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x20], xmm6
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e0c50]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400e0c90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x48], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x20]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e0c50]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x4c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400e0c90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.6666666666666666]
pxor xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
jmp 0x140006c3d
lea r8, [rsp + 0x48]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x140006c10
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [0x14013f940]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [0x14013f940]
test rcx, rcx
je 0x140006cc9
xor edx, edx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [0x14013f940]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [0x14013f940]
cmp eax, 0x100
jne 0x140006cc3
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [0x14013f940]
lea rcx, [0x14013f840]
mov edx, 0x100
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [0x14013f940]
add rsp, 0x38
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add rsp, 0x38
jmp 0x140006a10