Function at 0x14011cda0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
movdqa xmmword [rsp + 0x90], xmm10
movdqa xmmword [rsp + 0x80], xmm9
movdqa xmmword [rsp + 0x70], xmm8
movdqa xmmword [rsp + 0x60], xmm7
movdqa xmmword [rsp + 0x50], xmm6
mov r9, rcx
mov rax, qword [0x1406c4a98]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov al, byte [0x140266b14]
mov byte [rsp + 0x42], al
movzx eax, word [0x140266b12]
mov word [rsp + 0x40], ax
mov eax, dword [0x1406ce620]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x1406ce624], 0xa
setl r8b
or r8b, al
movdqa xmm4, xmmword [0x140265fa0]
mov bl, Ordinal_60
mov cl, Ordinal_60
je 0x14011ced2
jmp 0x14011cf5a
test cl, cl
je 0x14011ceb0
punpcklbw xmm4, xmm1
punpcklwd xmm4, xmm1
movdqa xmm0, xmm4
pxor xmm0, xmm8
por xmm0, xmm9
pand xmm0, xmm5
movdqa xmm3, xmm4
pand xmm3, xmm10
pandn xmm4, xmm6
por xmm4, xmm3
pxor xmm4, xmm0
pand xmm4, xmm7
packuswb xmm4, xmm4
packuswb xmm4, xmm4
pxor xmm4, xmm2
movdqa xmmword [rsp + 0x20], xmm4
movzx eax, byte [rsp + 0x20]
movzx edx, byte [rsp + 0x21]
movzx ecx, cl
mov edi, ecx
not edi
mov esi, edi
or esi, 0x12
and ecx, 0xffffffc4
and esi, 0x3b
and edi, 0x12
or edi, ecx
xor edi, esi
xor dil, 0x12
mov ebx, edi
test r8b, r8b
je 0x14011cebb
jmp 0x14011cfa7
xor ebx, ebx
test r8b, r8b
jne 0x14011cfa7
xor ecx, ecx
test bl, bl
je 0x14011ce30
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], dl
mov byte [rsp + 0x42], dil
pxor xmm0, xmm0
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
pcmpeqd xmm0, xmm0
pxor xmm0, xmm4
por xmm0, xmmword [0x140265ae0]
movdqa xmm1, xmmword [0x140265fb0]
pand xmm0, xmmword [0x140265fc0]
pand xmm1, xmm4
pandn xmm4, xmmword [0x140265fd0]
por xmm4, xmm1
pxor xmm4, xmm0
pand xmm4, xmmword [0x140259880]
packuswb xmm4, xmm4
packuswb xmm4, xmm4
pxor xmm4, xmmword [0x140265f60]
movdqa xmmword [rsp + 0x30], xmm4
movzx eax, word [rsp + 0x30]
movzx edx, bl
mov ecx, edx
not ecx
mov ebx, ecx
or ebx, 0x12
and edx, 0xffffffc4
and ebx, 0x3b
and ecx, 0x12
or ecx, edx
xor ecx, ebx
xor cl, 0x12
mov word [rsp + 0x40], ax
mov byte [rsp + 0x42], cl
mov al, byte [rsp + 0x40]
mov dl, byte [rsp + 0x41]
mov dil, byte [rsp + 0x42]
pxor xmm1, xmm1
pcmpeqd xmm8, xmm8
movdqa xmm9, xmmword [0x140265ae0]
movdqa xmm10, xmmword [0x140265fb0]
movdqa xmm5, xmmword [0x140265fc0]
movdqa xmm6, xmmword [0x140265fd0]
movdqa xmm7, xmmword [0x140259880]
movdqa xmm2, xmmword [0x140265f60]
jmp 0x14011ce30
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], dl
mov byte [rsp + 0x42], dil
lea rcx, [0x1406d3a90]
lea r8, [rsp + 0x40]
mov rdx, r9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rsi, qword [0x1406d3a90]
test rsi, rsi
je 0x14011d06d
lea rcx, [0x1406d3918]
mov edx, 0x178
mov r8d, 1
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp dword [0x1406ce55c], 0xa
jl 0x14011d060
mov eax, dword [0x1406ce558]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x14011d060
lea rdi, [0x1406d3918]
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
nop dword [rax]
mov edx, 0x178
mov r8d, 1
mov rcx, rdi
mov r9, rsi
call rbx
mov edx, 0x178
mov r8d, 1
mov rcx, rdi
mov r9, rsi
call rbx
cmp dword [0x1406ce55c], 0xa
jl 0x14011d060
mov eax, dword [0x1406ce558]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x14011d020
mov rcx, qword [0x1406d3a90]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f88b0
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret