Function at 0x14001d0f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x14001d14f
cmp byte [rcx + 1], 0
je 0x14001d14f
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14001d14f
mov rcx, rdi
call fcn.1400352e0
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d146
dec dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r15d, r15d
mov qword [rbx + 0xa8], r15
cmp byte [rbx], r15b
je 0x14001d803
cmp byte [rbx + 0x3031], r15b
je 0x14001d1d9
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x14001d1d9
mov rdi, qword [0x1400c0df0]
mov qword [0x1400c0df0], rbx
mov dword [rbx + 0x3034], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140028f30
mov rbp, rax
lea rdx, [0x140047e1c]
mov rcx, rsi
call fcn.140019230
mov rsi, rax
test rax, rax
je 0x14001d1d0
mov r9, rax
mov r8, qword [rsp + 0x40]
lea edx, [r15 + 1]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x1400c0df0], rdi
jmp 0x14001d1e0
mov rdi, qword [0x1400c0df0]
mov ebp, r15d
cmp dword [rbx + 0x1a38], r15d
jle 0x14001d31d
mov r14, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x1a40]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x14001d30b
mov rcx, qword [rsi]
test rcx, rcx
je 0x14001d22d
test rdi, rdi
je 0x14001d227
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, r15d
cmp dword [rsi + 0x2b8], r15d
je 0x14001d260
nop dword [rax]
movsxd rax, edi
imul rcx, rax, 0x88
add rcx, qword [rsi + 0x2c0]
call fcn.14001aa00
inc edi
cmp edi, dword [rsi + 0x2b8]
jne 0x14001d240
lea rcx, [rsi + 0x2d8]
call fcn.140017a10
nop
mov rcx, qword [rsi + 0x2c0]
test rcx, rcx
je 0x14001d292
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d28b
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rsi + 0x2b0]
test rcx, rcx
je 0x14001d2b7
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d2b0
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsi + 0xd8]
call fcn.14001a930
nop
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x14001d2e9
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d2e2
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d2fb
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x1400c0df0]
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1a38]
jl 0x14001d200
mov rcx, qword [rbx + 0x1a40]
test rcx, rcx
je 0x14001d34f
mov qword [rbx + 0x1a38], r15
test rdi, rdi
je 0x14001d33b
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a40], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1a50]
test rcx, rcx
je 0x14001d381
mov qword [rbx + 0x1a48], r15
test rdi, rdi
je 0x14001d36d
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a50], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1a60]
test rcx, rcx
je 0x14001d3b3
mov qword [rbx + 0x1a58], r15
test rdi, rdi
je 0x14001d39f
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a60], r15
mov rdi, qword [0x1400c0df0]
mov qword [rbx + 0x1a90], r15
mov rcx, qword [rbx + 0x1a70]
test rcx, rcx
je 0x14001d3ec
mov qword [rbx + 0x1a68], r15
test rdi, rdi
je 0x14001d3d8
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a70], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1a80]
test rcx, rcx
je 0x14001d41e
mov qword [rbx + 0x1a78], r15
test rdi, rdi
je 0x14001d40a
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a80], r15
mov rdi, qword [0x1400c0df0]
mov qword [rbx + 0x1c10], r15
mov qword [rbx + 0x1aa8], r15
mov qword [rbx + 0x1aa0], r15
mov qword [rbx + 0x1a98], r15
mov qword [rbx + 0x1b28], r15
mov qword [rbx + 0x1b10], r15
mov qword [rbx + 0x1ab0], r15
mov rcx, qword [rbx + 0x1bc8]
test rcx, rcx
je 0x14001d481
mov qword [rbx + 0x1bc0], r15
test rdi, rdi
je 0x14001d46d
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bc8], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1bd8]
test rcx, rcx
je 0x14001d4b3
mov qword [rbx + 0x1bd0], r15
test rdi, rdi
je 0x14001d49f
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bd8], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1be8]
test rcx, rcx
je 0x14001d4e5
mov qword [rbx + 0x1be0], r15
test rdi, rdi
je 0x14001d4d1
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1be8], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1bf8]
test rcx, rcx
je 0x14001d517
mov qword [rbx + 0x1bf0], r15
test rdi, rdi
je 0x14001d503
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bf8], r15
mov rdi, qword [0x1400c0df0]
mov rcx, qword [rbx + 0x1c08]
test rcx, rcx
je 0x14001d550
mov qword [rbx + 0x1c00], r15
test rdi, rdi
je 0x14001d535
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c08], r15
mov rdi, qword [0x1400c0df0]
nop dword [rax]
mov rcx, qword [rbx + 0x1dd0]
test rcx, rcx
je 0x14001d582
mov qword [rbx + 0x1dc8], r15
test rdi, rdi
je 0x14001d56e
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1dd0], r15
mov rdi, qword [0x1400c0df0]
cmp qword [rbx + 0x1de0], 0
je 0x14001d5b7
mov qword [rbx + 0x1dd8], r15
mov rcx, qword [rbx + 0x1de0]
test rcx, rcx
je 0x14001d5aa
test rdi, rdi
je 0x14001d5aa
dec dword [rdi + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1de0], r15
lea rcx, [rbx + 0x1df0]
call fcn.1400321f0
lea rcx, [rbx + 0x1ed0]
call fcn.1400321f0
lea rcx, [rbx + 0x2060]
call fcn.140029a40
mov rcx, qword [rbx + 0x2090]
test rcx, rcx
je 0x14001d60d
mov qword [rbx + 0x2088], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d600
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2090], r15
mov rcx, qword [rbx + 0x20a0]
test rcx, rcx
je 0x14001d63f
mov qword [rbx + 0x2098], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d632
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20a0], r15
mov rcx, qword [rbx + 0x3008]
test rcx, rcx
je 0x14001d671
mov qword [rbx + 0x3000], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d664
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3008], r15
mov rcx, qword [rbx + 0x3018]
test rcx, rcx
je 0x14001d6a3
mov qword [rbx + 0x3010], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d696
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3018], r15
mov rcx, qword [rbx + 0x20c8]
test rcx, rcx
je 0x14001d6d5
mov qword [rbx + 0x20c0], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d6c8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20c8], r15
mov rcx, qword [rbx + 0x20d8]
test rcx, rcx
je 0x14001d707
mov qword [rbx + 0x20d0], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d6fa
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20d8], r15
mov rcx, qword [rbx + 0x20e8]
test rcx, rcx
je 0x14001d739
mov qword [rbx + 0x20e0], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d72c
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20e8], r15
mov rcx, qword [rbx + 0x3060]
test rcx, rcx
je 0x14001d76b
mov qword [rbx + 0x3058], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d75e
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3060], r15
mov rcx, qword [rbx + 0x3050]
test rcx, rcx
je 0x14001d79d
mov qword [rbx + 0x3048], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d790
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3050], r15
cmp qword [rbx + 0x3070], 0
je 0x14001d7ce
mov rdi, qword [rbx + 0x3070]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14001d7c7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3070], r15
mov rcx, qword [rbx + 0x3080]
test rcx, rcx
je 0x14001d800
mov qword [rbx + 0x3078], r15
mov rax, qword [0x1400c0df0]
test rax, rax
je 0x14001d7f3
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3080], r15
mov byte [rbx], 0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret