Function at 0x14008cc00
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push r14
sub rsp, 0x78
cmp dword [rcx + 0x44], 0
mov r9, r8
mov rbx, rdx
mov r14, rcx
mov dword [rsp + 0x24], 0
jle 0x14008cffc
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
xor edi, edi
mov qword [rax - 0x38], r13
mov qword [rsp + 0x30], rdi
mov qword [rax - 0x40], r15
test r9, r9
mov rax, qword [r14 + 0x48]
movsxd rdx, dword [rdi + rax]
jne 0x14008cc6f
mov rax, qword [r14 + 0x3a8]
lea rcx, [rdx + rdx*2]
mov r15, qword [rax + rcx*8 + 0x10]
jmp 0x14008cc81
mov rax, qword [r9]
mov r8, qword [r14 + 0x88]
mov rcx, r9
call qword [rax]
mov r15, rax
mov dx, 0x2c
mov rcx, r15
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x14008ccb3
mov dx, 0x22
mov rcx, r15
call sub.msvcrt.dll_wcschr
test rax, rax
jne 0x14008ccb3
mov rdx, r15
mov rcx, rbx
call fcn.140088e80
jmp 0x14008cf9a
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
mov dword [rsp + 0x20], 0x22
repne scasw ax, word [rdi]
xor esi, esi
not rcx
xor ebx, ebx
sub rcx, 1
cmp ecx, 0xffffffff
mov rbp, rcx
mov qword [rsp + 0x28], rcx
jne 0x14008ccea
xor ecx, ecx
call sub.msvcrt.dll_free
jmp 0x14008cd12
test ecx, ecx
js 0x14008cd12
nop
add ebx, 0x100
cmp ecx, ebx
jge 0x14008ccf0
lea eax, [rbx + rbx]
movsxd rcx, eax
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x14008cd12
mov word [rax], 0
movsxd rcx, ebp
lea rdx, [rsp + 0x20]
lea rdi, [rcx + rcx]
mov rcx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov word [rdi + rsi], 0
movzx r13d, word [r15]
test r13w, r13w
mov eax, ebp
mov dword [rsp + 0xa8], eax
je 0x14008ceb3
nop
nop
nop
cmp r13w, 0x22
jne 0x14008cdfc
lea edi, [rax + 2]
mov r13, rsi
cmp edi, 0xffffffff
jne 0x14008cd77
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0xa8]
jmp 0x14008cdcb
cmp edi, ebx
jl 0x14008cdcb
mov r12, rsi
mov ebp, ebx
add ebx, 0x100
cmp edi, ebx
jge 0x14008cd80
lea eax, [rbx + rbx]
movsxd rcx, eax
call sub.msvcrt.dll_malloc
test ebp, ebp
mov rsi, rax
jle 0x14008cdc4
test rax, rax
je 0x14008cdb3
lea eax, [rbp + rbp]
mov rdx, r12
mov rcx, rsi
movsxd r8, eax
call sub.msvcrt.dll_memcpy
mov rcx, r12
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0xa8]
jmp 0x14008cdcb
mov eax, dword [rsp + 0xa8]
test r13, r13
jne 0x14008cdd9
test rsi, rsi
je 0x14008cdd9
mov word [rsi], r13w
movsxd rcx, eax
mov eax, dword [0x1400a98e4]
mov dword [rsi + rcx*2], eax
movsxd rax, edi
mov word [rsi + rax*2], 0
mov eax, edi
mov dword [rsp + 0xa8], eax
jmp 0x14008ce93
lea edi, [rax + 1]
mov r14, rsi
cmp edi, 0xffffffff
jne 0x14008ce18
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0xa8]
jmp 0x14008ce6c
cmp edi, ebx
jl 0x14008ce6c
mov r12, rsi
mov ebp, ebx
add ebx, 0x100
cmp edi, ebx
jge 0x14008ce21
lea eax, [rbx + rbx]
movsxd rcx, eax
call sub.msvcrt.dll_malloc
test ebp, ebp
mov rsi, rax
jle 0x14008ce65
test rax, rax
je 0x14008ce54
lea eax, [rbp + rbp]
mov rdx, r12
mov rcx, rsi
movsxd r8, eax
call sub.msvcrt.dll_memcpy
mov rcx, r12
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0xa8]
jmp 0x14008ce6c
mov eax, dword [rsp + 0xa8]
test r14, r14
jne 0x14008ce7a
test rsi, rsi
je 0x14008ce7a
mov word [rsi], r14w
cdqe
mov word [rsi + rax*2], r13w
movsxd rax, edi
mov word [rsi + rax*2], 0
mov eax, edi
mov dword [rsp + 0xa8], eax
mov r13w, word [r15 + 2]
add r15, 2
test r13w, r13w
jne 0x14008cd50
mov rbp, qword [rsp + 0x28]
mov r14, qword [rsp + 0x90]
lea edi, [rax + rbp]
mov r13, rsi
cmp edi, 0xffffffff
jne 0x14008cecf
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0xa8]
jmp 0x14008cf36
cmp edi, ebx
jl 0x14008cf36
mov rbp, rsi
mov r12d, ebx
nop
nop
add ebx, 0x100
cmp edi, ebx
jge 0x14008cee0
lea eax, [rbx + rbx]
movsxd rcx, eax
call sub.msvcrt.dll_malloc
test r12d, r12d
mov rsi, rax
jle 0x14008cf2a
test rax, rax
je 0x14008cf14
lea eax, [r12 + r12]
mov rdx, rbp
mov rcx, rsi
movsxd r8, eax
call sub.msvcrt.dll_memcpy
mov rcx, rbp
call sub.msvcrt.dll_free
mov eax, dword [rsp + 0xa8]
mov rbp, qword [rsp + 0x28]
jmp 0x14008cf36
mov eax, dword [rsp + 0xa8]
mov rbp, qword [rsp + 0x28]
test r13, r13
jne 0x14008cf44
test rsi, rsi
je 0x14008cf44
mov word [rsi], r13w
cdqe
movsxd r8, ebp
lea rdx, [rsp + 0x20]
lea rcx, [rsi + rax*2]
add r8, r8
call sub.msvcrt.dll_memcpy
mov rbx, qword [rsp + 0x98]
movsxd rdx, edi
mov word [rsi + rdx*2], 0
lea rdx, [0x1400a89b8]
test rsi, rsi
cmovne rdx, rsi
mov rcx, rbx
call fcn.140088e80
test rsi, rsi
je 0x14008cf95
mov rcx, rsi
call sub.msvcrt.dll_free
mov rdi, qword [rsp + 0x30]
jmp 0x14008cf9a
mov rdi, qword [rsp + 0x30]
mov eax, dword [r14 + 0x44]
mov r15d, dword [rsp + 0x24]
sub eax, 1
cmp r15d, eax
jge 0x14008cfba
lea rdx, [0x1400a9160]
mov rcx, rbx
call fcn.140088e80
mov r9, qword [rsp + 0xa0]
add r15d, 1
add rdi, 4
cmp r15d, dword [r14 + 0x44]
mov dword [rsp + 0x24], r15d
mov qword [rsp + 0x30], rdi
jl 0x14008cc50
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
lea rdx, [0x1400a8fb0]
mov rcx, rbx
add rsp, 0x78
pop r14
pop rbx
jmp fcn.140088e80