Function at 0x140007300
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
mov rbx, rcx
test rax, rax
je 0x140007350
cmp byte [rcx + 1], 0
je 0x140007350
mov byte [rax], 0
mov rdi, qword [rcx + 0xf0]
test rdi, rdi
je 0x140007350
mov rcx, rdi
call fcn.140022c90
mov rax, qword [0x14054f830]
test rax, rax
je 0x140007347
dec dword [rax + 0x3fc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r14d, r14d
mov qword [rbx + 0xf0], r14
cmp byte [rbx], r14b
je 0x1400079bf
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
cmp byte [rbx + 0x3139], r14b
je 0x1400073e2
mov rdi, qword [rbx + 0x68]
test rdi, rdi
je 0x1400073e2
mov rsi, qword [0x14054f830]
lea rcx, [rsp + 0x40]
mov qword [0x14054f830], rbx
mov dword [rbx + 0x313c], r14d
mov qword [rsp + 0x40], r14
call fcn.140014d40
lea rdx, [0x1400343b4]
mov rcx, rdi
mov rbp, rax
call fcn.1400028b0
mov rdi, rax
test rax, rax
je 0x1400073db
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 [0x14054f830], rsi
mov edx, 6
mov rcx, rbx
call fcn.140004e00
mov eax, dword [rbx + 0x1ae0]
mov ebp, r14d
test eax, eax
jle 0x140007465
mov rsi, r14
nop
test rsi, rsi
js 0x140007409
cmp ebp, eax
jl 0x140007423
mov r8d, 0x684
lea rdx, str.C:UsersDxrky_Downloadsimgui_menuimgui_menuimgui.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 + 0x1ae8]
mov rdi, qword [rax + rsi*8]
test rdi, rdi
je 0x140007456
mov rcx, rdi
call fcn.140004500
mov rax, qword [0x14054f830]
test rax, rax
je 0x14000744d
dec dword [rax + 0x3fc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1ae0]
inc ebp
inc rsi
cmp ebp, eax
jl 0x140007400
mov rcx, qword [rbx + 0x1ae8]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
test rcx, rcx
je 0x1400074a1
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1ae0], r14
test rax, rax
je 0x140007494
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ae8], r14
mov rcx, qword [rbx + 0x1af8]
test rcx, rcx
je 0x1400074d3
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1af0], r14
test rax, rax
je 0x1400074c6
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1af8], r14
mov rcx, qword [rbx + 0x1b08]
test rcx, rcx
je 0x140007505
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1b00], r14
test rax, rax
je 0x1400074f8
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b08], r14
mov qword [rbx + 0x1b38], r14
mov rcx, qword [rbx + 0x1b18]
test rcx, rcx
je 0x14000753e
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1b10], r14
test rax, rax
je 0x140007531
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b18], r14
mov rcx, qword [rbx + 0x1b28]
test rcx, rcx
je 0x140007570
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1b20], r14
test rax, rax
je 0x140007563
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b28], r14
mov qword [rbx + 0x1ce8], r14
mov qword [rbx + 0x1b50], r14
mov qword [rbx + 0x1b48], r14
mov qword [rbx + 0x1b40], r14
mov qword [rbx + 0x1bd0], r14
mov qword [rbx + 0x1bb8], r14
mov qword [rbx + 0x1b58], r14
mov rcx, qword [rbx + 0x1c70]
test rcx, rcx
je 0x1400075d3
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1c68], r14
test rax, rax
je 0x1400075c6
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c70], r14
mov rcx, qword [rbx + 0x1c80]
test rcx, rcx
je 0x140007605
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1c78], r14
test rax, rax
je 0x1400075f8
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c80], r14
mov rcx, qword [rbx + 0x1c90]
test rcx, rcx
je 0x140007637
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1c88], r14
test rax, rax
je 0x14000762a
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c90], r14
mov rcx, qword [rbx + 0x1cd0]
test rcx, rcx
je 0x140007669
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1cc8], r14
test rax, rax
je 0x14000765c
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1cd0], r14
mov rcx, qword [rbx + 0x1ce0]
test rcx, rcx
je 0x1400076a0
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1cd8], r14
test rax, rax
je 0x14000768e
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ce0], r14
nop dword [rax + rax]
mov rcx, qword [rbx + 0x1ea8]
test rcx, rcx
je 0x1400076d2
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1ea0], r14
test rax, rax
je 0x1400076c5
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ea8], r14
mov rcx, qword [rbx + 0x1eb8]
test rcx, rcx
je 0x140007704
mov rax, qword [0x14054f830]
mov qword [rbx + 0x1eb0], r14
test rax, rax
je 0x1400076f7
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1eb8], r14
lea rcx, [rbx + 0x1ec8]
call fcn.14001ed10
lea rcx, [rbx + 0x1f90]
call fcn.14001ed10
lea rcx, [rbx + 0x2168]
call fcn.140015940
mov rcx, qword [rbx + 0x2198]
test rcx, rcx
je 0x14000775a
mov rax, qword [0x14054f830]
mov qword [rbx + 0x2190], r14
test rax, rax
je 0x14000774d
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2198], r14
mov rcx, qword [rbx + 0x21a8]
test rcx, rcx
je 0x14000778c
mov rax, qword [0x14054f830]
mov qword [rbx + 0x21a0], r14
test rax, rax
je 0x14000777f
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21a8], r14
lea rcx, [rbx + 0x2108]
call fcn.140015aa0
mov rcx, qword [rbx + 0x2138]
test rcx, rcx
je 0x1400077ca
mov rax, qword [0x14054f830]
mov qword [rbx + 0x2130], r14
test rax, rax
je 0x1400077bd
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2138], r14
mov rcx, qword [rbx + 0x2158]
test rcx, rcx
je 0x1400077fc
mov rax, qword [0x14054f830]
mov qword [rbx + 0x2150], r14
test rax, rax
je 0x1400077ef
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2158], r14
mov rcx, qword [rbx + 0x3110]
test rcx, rcx
je 0x14000782e
mov rax, qword [0x14054f830]
mov qword [rbx + 0x3108], r14
test rax, rax
je 0x140007821
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3110], r14
mov rcx, qword [rbx + 0x3120]
test rcx, rcx
je 0x140007860
mov rax, qword [0x14054f830]
mov qword [rbx + 0x3118], r14
test rax, rax
je 0x140007853
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3120], r14
mov rcx, qword [rbx + 0x21d0]
test rcx, rcx
je 0x140007892
mov rax, qword [0x14054f830]
mov qword [rbx + 0x21c8], r14
test rax, rax
je 0x140007885
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21d0], r14
mov rcx, qword [rbx + 0x21e0]
test rcx, rcx
je 0x1400078c4
mov rax, qword [0x14054f830]
mov qword [rbx + 0x21d8], r14
test rax, rax
je 0x1400078b7
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21e0], r14
mov rcx, qword [rbx + 0x21f0]
test rcx, rcx
je 0x1400078f6
mov rax, qword [0x14054f830]
mov qword [rbx + 0x21e8], r14
test rax, rax
je 0x1400078e9
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21f0], r14
mov rcx, qword [rbx + 0x3168]
test rcx, rcx
je 0x140007928
mov rax, qword [0x14054f830]
mov qword [rbx + 0x3160], r14
test rax, rax
je 0x14000791b
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3168], r14
mov rcx, qword [rbx + 0x3158]
test rcx, rcx
je 0x14000795a
mov rax, qword [0x14054f830]
mov qword [rbx + 0x3150], r14
test rax, rax
je 0x14000794d
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3158], r14
cmp qword [rbx + 0x3198], r14
je 0x14000798a
mov rdi, qword [rbx + 0x3198]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140007983
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3198], r14
mov rcx, qword [rbx + 0x31a8]
test rcx, rcx
je 0x1400079bc
mov rax, qword [0x14054f830]
mov qword [rbx + 0x31a0], r14
test rax, rax
je 0x1400079af
dec dword [rax + 0x3fc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31a8], r14
mov byte [rbx], r14b
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret