Function at 0x180001310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rdx, [0x1800042c8]
mov rdi, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x180001367
mov r9, rax
lea rcx, section..data
mov edx, 1
mov r8d, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
je 0x180001374
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r9, rbx
lea rcx, [0x18000b960]
mov edx, 1
mov r8d, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000bd60]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000c160]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180006400]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180006800]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180006c00]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180007000]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180007400]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180007800]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180007c00]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180008000]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180008400]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180008800]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180008c00]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180009000]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180009400]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180009800]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x180009c00]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000c560]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000a000]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000a400]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000a800]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000c960]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000ac00]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000cd60]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000d160]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000d560]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000d960]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000dd60]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000e160]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000e560]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000b000]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000b400]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000e960]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 0x400
jne 0x180001355
mov r9, rbx
lea rcx, [0x18000ed60]
mov edx, 1
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
cmp rax, 0x400
jne 0x180001358
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret