Function at 0x140006d80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0xa8]
mov rbx, rcx
test rax, rax
je 0x140006dd0
cmp byte [rcx + 1], 0
je 0x140006dd0
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140006dd0
mov rcx, rdi
call fcn.140021e40
mov rax, qword [0x14005e920]
test rax, rax
je 0x140006dc7
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r14d, r14d
mov qword [rbx + 0xa8], r14
cmp byte [rbx], r14b
je 0x140007413
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
cmp byte [rbx + 0x30d1], r14b
je 0x140006e62
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140006e62
mov rsi, qword [0x14005e920]
lea rcx, [rsp + 0x40]
mov qword [0x14005e920], rbx
mov dword [rbx + 0x30d4], r14d
mov qword [rsp + 0x40], r14
call fcn.140014660
lea rdx, [0x1400343b4]
mov rcx, rdi
mov rbp, rax
call fcn.1400026c0
mov rdi, rax
test rax, rax
je 0x140006e5b
mov r8, qword [rsp + 0x40]
lea edx, [r14 + 1]
mov r9, rax
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x14005e920], rsi
mov edx, 6
mov rcx, rbx
call fcn.140004890
mov eax, dword [rbx + 0x1a88]
mov ebp, r14d
test eax, eax
jle 0x140006ee5
mov rsi, r14
nop
test rsi, rsi
js 0x140006e89
cmp ebp, eax
jl 0x140006ea3
mov r8d, 0x651
lea rdx, str.C:UserskaragDesktop_airflowimgui_masterimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x1a90]
mov rdi, qword [rax + rsi*8]
test rdi, rdi
je 0x140006ed6
mov rcx, rdi
call fcn.140003ec0
mov rax, qword [0x14005e920]
test rax, rax
je 0x140006ecd
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1a88]
inc ebp
inc rsi
cmp ebp, eax
jl 0x140006e80
mov rcx, qword [rbx + 0x1a90]
mov rbp, qword [rsp + 0x48]
test rcx, rcx
je 0x140006f1c
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1a88], r14
test rax, rax
je 0x140006f0f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a90], r14
mov rcx, qword [rbx + 0x1aa0]
test rcx, rcx
je 0x140006f4e
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1a98], r14
test rax, rax
je 0x140006f41
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1aa0], r14
mov rcx, qword [rbx + 0x1ab0]
test rcx, rcx
je 0x140006f80
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1aa8], r14
test rax, rax
je 0x140006f73
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ab0], r14
mov qword [rbx + 0x1ae0], r14
mov rcx, qword [rbx + 0x1ac0]
test rcx, rcx
je 0x140006fb9
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1ab8], r14
test rax, rax
je 0x140006fac
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ac0], r14
mov rcx, qword [rbx + 0x1ad0]
test rcx, rcx
je 0x140006feb
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1ac8], r14
test rax, rax
je 0x140006fde
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ad0], r14
mov qword [rbx + 0x1c90], r14
mov qword [rbx + 0x1af8], r14
mov qword [rbx + 0x1af0], r14
mov qword [rbx + 0x1ae8], r14
mov qword [rbx + 0x1b78], r14
mov qword [rbx + 0x1b60], r14
mov qword [rbx + 0x1b00], r14
mov rcx, qword [rbx + 0x1c18]
test rcx, rcx
je 0x14000704e
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1c10], r14
test rax, rax
je 0x140007041
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c18], r14
mov rcx, qword [rbx + 0x1c28]
test rcx, rcx
je 0x140007080
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1c20], r14
test rax, rax
je 0x140007073
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c28], r14
mov rcx, qword [rbx + 0x1c38]
test rcx, rcx
je 0x1400070b2
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1c30], r14
test rax, rax
je 0x1400070a5
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c38], r14
mov rcx, qword [rbx + 0x1c78]
test rcx, rcx
je 0x1400070e4
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1c70], r14
test rax, rax
je 0x1400070d7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c78], r14
mov rcx, qword [rbx + 0x1c88]
test rcx, rcx
je 0x140007116
mov rax, qword [0x14005e920]
mov qword [rbx + 0x1c80], r14
test rax, rax
je 0x140007109
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c88], r14
lea rdi, [rbx + 0x1e50]
mov esi, 2
mov rcx, qword [rdi]
test rcx, rcx
je 0x140007149
mov rax, qword [0x14005e920]
mov qword [rdi - 8], r14
test rax, rax
je 0x140007140
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], r14
add rdi, 0x10
sub rsi, 1
jne 0x140007122
lea rcx, [rbx + 0x1e70]
call fcn.14001e540
lea rcx, [rbx + 0x1f30]
call fcn.14001e540
lea rcx, [rbx + 0x2100]
call fcn.1400152a0
mov rcx, qword [rbx + 0x2130]
mov rsi, qword [rsp + 0x50]
test rcx, rcx
je 0x1400071ae
mov rax, qword [0x14005e920]
mov qword [rbx + 0x2128], r14
test rax, rax
je 0x1400071a1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2130], r14
mov rcx, qword [rbx + 0x2140]
test rcx, rcx
je 0x1400071e0
mov rax, qword [0x14005e920]
mov qword [rbx + 0x2138], r14
test rax, rax
je 0x1400071d3
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2140], r14
lea rcx, [rbx + 0x20a0]
call fcn.140015460
mov rcx, qword [rbx + 0x20d0]
test rcx, rcx
je 0x14000721e
mov rax, qword [0x14005e920]
mov qword [rbx + 0x20c8], r14
test rax, rax
je 0x140007211
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20d0], r14
mov rcx, qword [rbx + 0x20f0]
test rcx, rcx
je 0x140007250
mov rax, qword [0x14005e920]
mov qword [rbx + 0x20e8], r14
test rax, rax
je 0x140007243
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20f0], r14
mov rcx, qword [rbx + 0x30a8]
test rcx, rcx
je 0x140007282
mov rax, qword [0x14005e920]
mov qword [rbx + 0x30a0], r14
test rax, rax
je 0x140007275
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30a8], r14
mov rcx, qword [rbx + 0x30b8]
test rcx, rcx
je 0x1400072b4
mov rax, qword [0x14005e920]
mov qword [rbx + 0x30b0], r14
test rax, rax
je 0x1400072a7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30b8], r14
mov rcx, qword [rbx + 0x2168]
test rcx, rcx
je 0x1400072e6
mov rax, qword [0x14005e920]
mov qword [rbx + 0x2160], r14
test rax, rax
je 0x1400072d9
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2168], r14
mov rcx, qword [rbx + 0x2178]
test rcx, rcx
je 0x140007318
mov rax, qword [0x14005e920]
mov qword [rbx + 0x2170], r14
test rax, rax
je 0x14000730b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2178], r14
mov rcx, qword [rbx + 0x2188]
test rcx, rcx
je 0x14000734a
mov rax, qword [0x14005e920]
mov qword [rbx + 0x2180], r14
test rax, rax
je 0x14000733d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2188], r14
mov rcx, qword [rbx + 0x3100]
test rcx, rcx
je 0x14000737c
mov rax, qword [0x14005e920]
mov qword [rbx + 0x30f8], r14
test rax, rax
je 0x14000736f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3100], r14
mov rcx, qword [rbx + 0x30f0]
test rcx, rcx
je 0x1400073ae
mov rax, qword [0x14005e920]
mov qword [rbx + 0x30e8], r14
test rax, rax
je 0x1400073a1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30f0], r14
cmp qword [rbx + 0x3130], r14
je 0x1400073de
mov rdi, qword [rbx + 0x3130]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x1400073d7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3130], r14
mov rcx, qword [rbx + 0x3140]
test rcx, rcx
je 0x140007410
mov rax, qword [0x14005e920]
mov qword [rbx + 0x3138], r14
test rax, rax
je 0x140007403
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3140], r14
mov byte [rbx], r14b
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret