Function at 0x18000a1f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rbp + 8], rax
mov r15, r9
mov rdi, r8
mov r14, rdx
mov r13d, ecx
xor esi, esi
mov dword [rsp + 0x70], esi
lea rbx, [0x18002fa44]
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x58]
call fcn.18000b960
nop
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x40]
call fcn.18000b960
nop
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ebx, word [rbp]
cmp bx, 0xc
jbe 0x18000a272
lea r12d, [rsi + 0x50]
sub bx, 0xc
jmp 0x18000a282
mov r12d, 0x41
test bx, bx
jne 0x18000a282
lea ebx, [r12 - 0x35]
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.180009f50
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.180009f50
lea rax, [0x180032234]
cmp word [rdi], 0
je 0x18000a2d3
mov r8, rdi
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.18000b690
nop
mov esi, 1
mov dword [rsp + 0x70], esi
mov rcx, rax
call fcn.18000c390
mov r15, rax
lea rax, [0x180032234]
jmp 0x18000a2d6
mov r15, rax
mov r8, qword [rbp - 0x60]
cmp word [r8], 0
je 0x18000a2fc
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.18000b690
nop
or esi, 2
mov dword [rsp + 0x70], esi
mov rcx, rax
call fcn.18000c390
mov r14, rax
mov r8, qword [rbp - 0x48]
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.18000b690
nop
test r13b, 8
lea rdi, [0x180032238]
lea rcx, [0x180032234]
cmovne rdi, rcx
mov rcx, rax
call fcn.18000c390
movzx ecx, r12w
movzx edx, word [rbp + 4]
movzx r8d, word [rbp + 2]
movzx r10d, bx
movzx r11d, word [rbp - 2]
movzx ebx, word [rbp - 6]
movzx r9d, word [rbp - 8]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
mov r8, r14
lea rdx, str._s_04u__02u__02u__02u:_02u:_02u__cM__s_s_s
lea rcx, [rsp + 0x78]
call fcn.18000b720
nop
lea rcx, [rbp - 0x30]
call fcn.18000b9b0
nop
test sil, 2
je 0x18000a3ac
and esi, 0xfffffffd
mov dword [rsp + 0x70], esi
lea rcx, [rbp - 0x18]
call fcn.18000b9b0
nop
test sil, 1
je 0x18000a3c2
and esi, 0xfffffffe
mov dword [rsp + 0x70], esi
lea rcx, [rbp - 0x70]
call fcn.18000b9b0
lea rcx, [rsp + 0x78]
call fcn.18000c4b0
mov ebx, eax
lea rcx, [rsp + 0x78]
call fcn.18000c390
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x78]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [0x1800401d8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18000a44a
lea rcx, [rsp + 0x74]
call fcn.18000b980
mov edx, dword [rsp + 0x74]
lea rcx, [rbp - 0x70]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rbx, rax
lea rcx, [rsp + 0x78]
call fcn.18000c4b0
mov edx, eax
mov r9d, dword [rsp + 0x74]
mov r8, rbx
lea rcx, str.Unable_to_write__lu_bytes_to_log_file.__s._Error_code___lu.
call fcn.180008d50
nop
lea rcx, [rbp - 0x70]
call fcn.18000b9b0
nop
lea rcx, [rsp + 0x78]
call fcn.18000b9b0
nop
lea rcx, [rbp - 0x40]
call fcn.18000b9b0
nop
lea rcx, [rbp - 0x58]
call fcn.18000b9b0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.180016e40
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret