Function at 0x140007e50
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 0x140007eb0
cmp byte [rcx + 1], 0
je 0x140007eb0
mov byte [rax + 0x18], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140007eb0
mov rcx, rdi
call fcn.1400254b0
mov rax, qword [0x14007f128]
test rax, rax
je 0x140007ea7
dec dword [rax + 0x3b4]
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 0x1400085a7
cmp byte [rbx + 0x3029], r15b
je 0x140007f39
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140007f39
mov rsi, qword [0x14007f128]
mov qword [0x14007f128], rbx
mov dword [rbx + 0x302c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140017510
mov rbp, rax
lea rdx, [0x1400444c4]
mov rcx, rdi
call fcn.1400026d0
mov rdi, rax
test rax, rax
je 0x140007f32
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, 1
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 [0x14007f128], rsi
mov edx, 6
mov rcx, rbx
call fcn.140005310
mov ebp, r15d
mov eax, dword [rbx + 0x1bb0]
test eax, eax
jle 0x140007fbb
mov rsi, r15
test rsi, rsi
js 0x140007f5f
cmp ebp, eax
jl 0x140007f79
mov r8d, 0x685
lea rdx, str.E:Videosimgui_for_riotimgui.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 + 0x1bb8]
mov rdi, qword [rax + rsi*8]
test rdi, rdi
je 0x140007fac
mov rcx, rdi
call fcn.140004ad0
mov rax, qword [0x14007f128]
test rax, rax
je 0x140007fa3
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebp
inc rsi
mov eax, dword [rbx + 0x1bb0]
cmp ebp, eax
jl 0x140007f56
mov rcx, qword [rbx + 0x1bb8]
test rcx, rcx
je 0x140007fed
mov qword [rbx + 0x1bb0], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140007fe0
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bb8], r15
mov rcx, qword [rbx + 0x1bc8]
test rcx, rcx
je 0x14000801f
mov qword [rbx + 0x1bc0], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008012
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bc8], r15
mov rcx, qword [rbx + 0x1bd8]
test rcx, rcx
je 0x140008051
mov qword [rbx + 0x1bd0], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008044
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bd8], r15
mov qword [rbx + 0x1c10], r15
mov rcx, qword [rbx + 0x1be8]
test rcx, rcx
je 0x14000808a
mov qword [rbx + 0x1be0], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000807d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1be8], r15
mov rcx, qword [rbx + 0x1bf8]
test rcx, rcx
je 0x1400080bc
mov qword [rbx + 0x1bf0], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400080af
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bf8], r15
mov qword [rbx + 0x1dc8], r15
mov qword [rbx + 0x1c20], r15
mov qword [rbx + 0x1c18], r15
mov qword [rbx + 0x1ca0], r15
mov qword [rbx + 0x1c88], r15
mov qword [rbx + 0x1c28], r15
mov rcx, qword [rbx + 0x1d40]
test rcx, rcx
je 0x140008118
mov qword [rbx + 0x1d38], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000810b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d40], r15
mov rcx, qword [rbx + 0x1d50]
test rcx, rcx
je 0x14000814a
mov qword [rbx + 0x1d48], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000813d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d50], r15
mov rcx, qword [rbx + 0x1d60]
test rcx, rcx
je 0x14000817c
mov qword [rbx + 0x1d58], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000816f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d60], r15
mov rcx, qword [rbx + 0x1da0]
test rcx, rcx
je 0x1400081ae
mov qword [rbx + 0x1d98], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400081a1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1da0], r15
mov rcx, qword [rbx + 0x1db0]
test rcx, rcx
je 0x1400081e0
mov qword [rbx + 0x1da8], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400081d3
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1db0], r15
mov r14d, r15d
mov eax, dword [rbx + 0x1db8]
test eax, eax
jle 0x1400082d1
mov rbp, r15
test rbp, rbp
js 0x1400081fe
cmp r14d, eax
jl 0x140008218
mov r8d, 0x685
lea rdx, str.E:Videosimgui_for_riotimgui.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 + 0x1dc0]
mov rdi, qword [rax + rbp*8]
test rdi, rdi
je 0x1400082bc
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x140008258
mov rcx, rsi
call fcn.140001160
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000824f
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rdi + 0x38]
test rsi, rsi
je 0x140008285
mov rcx, rsi
call fcn.140001160
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000827b
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rdi + 0x70]
lea r9, [0x140017f60]
mov edx, 0x10
mov r8d, 2
call fcn.14003f040
nop
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400082b3
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc r14d
inc rbp
mov eax, dword [rbx + 0x1db8]
cmp r14d, eax
jl 0x1400081f4
mov rcx, qword [rbx + 0x1dc0]
test rcx, rcx
je 0x140008303
mov qword [rbx + 0x1db8], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400082f6
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1dc0], r15
lea rcx, [rbx + 0x2058]
call fcn.140018130
mov rcx, qword [rbx + 0x2088]
test rcx, rcx
je 0x140008341
mov qword [rbx + 0x2080], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008334
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2088], r15
mov rcx, qword [rbx + 0x2098]
test rcx, rcx
je 0x140008373
mov qword [rbx + 0x2090], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008366
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2098], r15
lea rcx, [rbx + 0x1ff8]
call fcn.140018310
mov rcx, qword [rbx + 0x2028]
test rcx, rcx
je 0x1400083b1
mov qword [rbx + 0x2020], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400083a4
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2028], r15
mov rcx, qword [rbx + 0x2048]
test rcx, rcx
je 0x1400083e3
mov qword [rbx + 0x2040], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400083d6
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2048], r15
mov rcx, qword [rbx + 0x3000]
test rcx, rcx
je 0x140008415
mov qword [rbx + 0x2ff8], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008408
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3000], r15
mov rcx, qword [rbx + 0x3010]
test rcx, rcx
je 0x140008447
mov qword [rbx + 0x3008], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000843a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3010], r15
mov rcx, qword [rbx + 0x20c0]
test rcx, rcx
je 0x140008479
mov qword [rbx + 0x20b8], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000846c
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20c0], r15
mov rcx, qword [rbx + 0x20d0]
test rcx, rcx
je 0x1400084ab
mov qword [rbx + 0x20c8], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x14000849e
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20d0], r15
mov rcx, qword [rbx + 0x20e0]
test rcx, rcx
je 0x1400084dd
mov qword [rbx + 0x20d8], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x1400084d0
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20e0], r15
mov rcx, qword [rbx + 0x3058]
test rcx, rcx
je 0x14000850f
mov qword [rbx + 0x3050], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008502
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3058], r15
mov rcx, qword [rbx + 0x3048]
test rcx, rcx
je 0x140008541
mov qword [rbx + 0x3040], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008534
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3048], r15
cmp qword [rbx + 0x3090], 0
je 0x140008572
mov rdi, qword [rbx + 0x3090]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14000856b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3090], r15
mov rcx, qword [rbx + 0x30a0]
test rcx, rcx
je 0x1400085a4
mov qword [rbx + 0x3098], r15
mov rax, qword [0x14007f128]
test rax, rax
je 0x140008597
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30a0], 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