Function at 0x14011c0a8
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14011c35d
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov byte [rsp + 0x50], r8b
mov rsi, r9
mov r15, rdx
mov r14, rcx
test rdx, rdx
je 0x14011c334
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r8d, r8d
mov dword [rsp + 0x54], eax
movsxd rbx, eax
test rsi, rsi
je 0x14011c121
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r13d, eax
xor r8d, r8d
jmp 0x14011c124
mov r13d, r8d
movsxd rax, r13d
mov r12, r8
add rax, rbx
lea rcx, [rax + 0x28]
lea rcx, [rax + rcx*2]
cmp rcx, 0x400
jae 0x14011c144
lea rdi, [rbp - 0x60]
jmp 0x14011c15e
lfence
call fcn.140113e8c
xor r8d, r8d
mov rdi, rax
mov r12, rax
test rax, rax
je 0x14011c334
mov rbx, r8
cmp byte [rsp + 0x50], r8b
je 0x14011c21d
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r8, qword [rsp + 0x70]
movzx eax, word [rsp + 0x7e]
movzx ecx, word [rsp + 0x7c]
cmp r8, qword [r14 + 0x28]
jne 0x14011c1b2
movzx r9d, word [rsp + 0x7a]
lea rdx, str._i:_02i:_02i._03i
movzx r8d, word [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x80]
call fcn.140093984
jmp 0x14011c1f3
movzx edx, word [rsp + 0x7a]
movzx r10d, word [rsp + 0x78]
movzx r11d, word [rsp + 0x76]
movzx r9d, word [rsp + 0x72]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x30], edx
lea rdx, str._i__02i__02i__i:_02i:_02i._03i
mov dword [rsp + 0x28], r10d
movzx r8d, r8w
mov dword [rsp + 0x20], r11d
call fcn.140093984
movups xmm0, xmmword [rsp + 0x70]
lea rcx, [rbp - 0x80]
movdqu xmmword [r14 + 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rbx, eax
lea rdx, [rbp - 0x80]
mov r8, rbx
mov rcx, rdi
call fcn.14012d940
xor r8d, r8d
test rsi, rsi
je 0x14011c275
cmp word [rsi], r8w
je 0x14011c275
mov qword [rsp + 0x38], r8
lea rcx, [rbx + rdi]
mov qword [rsp + 0x30], r8
lea eax, [r13*2 + 1]
add eax, r13d
or r9d, 0xffffffff
mov dword [rsp + 0x28], eax
mov r8, rsi
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
jle 0x14011c26b
dec eax
movsxd rcx, eax
add rbx, rcx
mov byte [rbx + rdi], 0x20
inc rbx
xor r8d, r8d
cmp word [r15], r8w
je 0x14011c2bf
mov eax, dword [rsp + 0x54]
lea rdx, [rbx + rdi]
mov qword [rsp + 0x38], r8
or r9d, 0xffffffff
mov qword [rsp + 0x30], r8
mov ecx, 0xfde9
mov r8, r15
lea eax, [rax + rax*2]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
jle 0x14011c2bc
dec eax
movsxd rcx, eax
add rbx, rcx
xor r8d, r8d
cmp byte [rbp + 0x410], r8b
je 0x14011c2d5
mov eax, 0xa0d
mov word [rbx + rdi], ax
add rbx, 2
mov byte [rbx + rdi], r8b
cmp qword [r14 + 0x20], r8
je 0x14011c327
lea rcx, [rsp + 0x60]
call fcn.140116c08
mov rdx, qword [r14 + 0x38]
lea rcx, [rsp + 0x60]
mov r8d, 0x1f4
call fcn.14011b6fc
mov rcx, qword [r14 + 0x20]
lea r9, [rsp + 0x58]
xor eax, eax
mov dword [rsp + 0x58], ebx
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x60]
call fcn.14011b698
test r12, r12
je 0x14011c334
mov rcx, r12
call fcn.140113e18
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x500]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret