Function at 0x1800081a8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.180009f90
sub rsp, rax
mov rax, qword [0x180013070]
xor rax, rsp
mov qword [rbp + 0x13b0], rax
mov r12, qword [0x1800136f8]
lea rcx, [rbp - 0x70]
mov r14, r8
mov ebx, 0x802
mov r8d, ebx
xor edx, edx
mov r15, r9
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
mov edi, 0xc01
lea rcx, [rbp + 0x7a0]
mov r8d, edi
xor edx, edx
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
xor r13d, r13d
mov qword [rsp + 0x70], rbx
mov esi, ebx
test r12, r12
je 0x1800084a8
lea rcx, [0x180013720]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
cmp dword [0x180013094], r13d
mov ebx, r13d
je 0x180008332
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
nop dword [rax + rax]
movzx eax, word [rbp - 0x72]
mov ebx, esi
movzx ecx, word [rbp - 0x74]
movzx edx, word [rbp - 0x76]
movzx r8d, word [rbp - 0x78]
movzx r9d, word [rbp - 0x80]
movzx r10d, word [rbp - 0x7a]
movzx r11d, word [rbp - 0x7e]
mov dword [rsp + 0x60], eax
lea rax, str._02u__02u__04u__02u:_02u:_02u:_03u
mov dword [rsp + 0x58], ecx
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x50], edx
mov edx, esi
mov dword [rsp + 0x48], r8d
xor r8d, r8d
mov dword [rsp + 0x40], r9d
lea r9, [rsp + 0x70]
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call fcn.180008a3c
test eax, eax
jns 0x1800082d0
mov ecx, eax
call fcn.180008c24
jmp 0x180008495
mov rsi, qword [rsp + 0x70]
sub rbx, rsi
shr rbx, 1
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
cmp eax, dword [0x1800136f0]
je 0x180008332
mov dword [rsp + 0x30], eax
lea rdx, [rbp - 0x70]
lea rax, str.__08lx_
mov ecx, ebx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], r13
lea rcx, [rdx + rcx*2]
mov rdx, rsi
call fcn.180008a3c
test eax, eax
js 0x1800082c4
mov rsi, qword [rsp + 0x70]
mov ebx, 0x802
sub rbx, rsi
shr rbx, 1
mov eax, ebx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x70]
mov rdx, rsi
mov qword [rsp + 0x28], r14
lea rcx, [rcx + rax*2]
call fcn.180008868
mov r8d, 0xa
test eax, eax
jns 0x18000836e
mov ecx, 0x3ff
mov dword [rbp + 0x78a], 0xa0023
jmp 0x18000837b
mov ecx, 0x802
sub ecx, dword [rsp + 0x70]
shr ecx, 1
je 0x1800083be
lea eax, [rcx - 1]
mov edx, eax
cmp word [rbp + rax*2 - 0x70], r8w
jne 0x1800083be
mov eax, 0xd
mov dword [0x180013094], 1
mov word [rbp + rdx*2 - 0x70], ax
mov eax, ecx
inc ecx
add rcx, rcx
mov word [rbp + rax*2 - 0x70], r8w
cmp rcx, 0x802
jae 0x1800084d3
mov word [rbp + rcx - 0x70], r13w
jmp 0x1800083c5
mov dword [0x180013094], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x30], r13
lea r8, [rbp - 0x70]
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], edi
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_WideCharToMultiByte]
nop dword [rax + rax]
test eax, eax
jne 0x180008471
lea rdx, str.NetpDebugDumpRoutine:_WideCharToMultiByte_failed_r_n
lea rax, [rbp + 0x7a0]
sub rdx, rax
lea rcx, [rbp + 0x7a0]
lea rax, [rdi + 0x7ffff3fd]
test rax, rax
je 0x180008437
mov al, byte [rdx + rcx]
test al, al
je 0x180008437
mov byte [rcx], al
inc rcx
sub rdi, 1
jne 0x180008419
lea rax, [rcx - 1]
test rdi, rdi
cmovne rax, rcx
mov byte [rax], r13b
mov rax, rdi
neg rax
sbb ecx, ecx
not ecx
and ecx, 0x80000005
test rdi, rdi
je 0x1800082c6
lea rax, [rbp + 0x7a0]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x180008465
lea eax, [rbx + 1]
lea r8d, [rax - 1]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x78]
mov rcx, r12
lea rdx, [rbp + 0x7a0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
lea rcx, [0x180013720]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x13b0]
xor rcx, rsp
call fcn.180009470
mov rbx, qword [rsp + 0x1500]
add rsp, 0x14c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180009648
int3