Function at 0x14000c960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1401b72c0]
cmp qword [rdi + 0x98], 0
je 0x14000c9a1
mov r8d, 0xe80
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str._g.IO.BackendPlatformUserData__0____Forgot_to_shutdown_Platform_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rdi + 0xa0], 0
je 0x14000c9c5
mov r8d, 0xe81
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.cpp
lea rcx, str._g.IO.BackendRendererUserData__0____Forgot_to_shutdown_Renderer_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14000ca46
cmp byte [rdi + 1], 0
je 0x14000ca46
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x14000ca46
cmp byte [rbx + 0x18], 0
je 0x14000ca01
mov r8d, 0x95b
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui_draw.cpp
lea rcx, str._Locked___Cannot_modify_a_locked_ImFontAtlas_between_NewFrame___and_EndFrame_Render____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, rbx
call fcn.1400436c0
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14000ca1d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14000ca2d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000ca3d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r12d, r12d
mov qword [rdi + 0x38], r12
mov rcx, qword [rdi + 0x3eb8]
test rcx, rcx
je 0x14000ca6d
mov qword [rdi + 0x3eb0], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x3eb8], r12
cmp byte [rdi], r12b
je 0x14000d176
cmp byte [rdi + 0x6198], r12b
je 0x14000cade
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000cade
mov rax, qword [0x1401b72c0]
mov dword [rax + 0x619c], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.1400268f0
mov rsi, rax
lea rdx, [0x1400cb81c]
mov rcx, rbx
call fcn.1400091f0
mov rbx, rax
test rax, rax
je 0x14000cade
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401b72c0]
mov rbx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x14000cb11
nop dword [rax]
mov rcx, qword [rbx]
call fcn.140029f40
add rbx, 8
cmp rbx, rsi
jne 0x14000cb00
mov esi, r12d
mov eax, dword [rdi + 0x6158]
test eax, eax
jle 0x14000cb7c
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14000cb2d
cmp esi, eax
jl 0x14000cb47
mov r8d, 0x7df
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.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 [rdi + 0x6160]
mov rbx, qword [r14 + rax + 8]
test rbx, rbx
je 0x14000cb69
mov rcx, rbx
call fcn.14002c430
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
inc rbp
add r14, 0x10
mov eax, dword [rdi + 0x6158]
cmp esi, eax
jl 0x14000cb24
mov rbx, qword [rdi + 0x61e8]
movsxd rsi, dword [rdi + 0x61e0]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x14000cbb1
cmp dword [rbx + 4], 6
jne 0x14000cba8
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x14000cb96
mov esi, r12d
cmp dword [rdi + 0x40e0], r12d
jle 0x14000cbef
mov r14, r12
mov rax, qword [rdi + 0x40e8]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000cbe1
mov rcx, rbx
call fcn.14000d740
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add r14, 8
cmp esi, dword [rdi + 0x40e0]
jl 0x14000cbc0
mov rcx, qword [rdi + 0x40e8]
test rcx, rcx
je 0x14000cc0f
mov qword [rdi + 0x40e0], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x40e8], r12
mov rcx, qword [rdi + 0x40f8]
test rcx, rcx
je 0x14000cc2f
mov qword [rdi + 0x40f0], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x40f8], r12
mov rcx, qword [rdi + 0x4108]
test rcx, rcx
je 0x14000cc4f
mov qword [rdi + 0x4100], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4108], r12
mov qword [rdi + 0x4140], r12
mov rcx, qword [rdi + 0x4118]
test rcx, rcx
je 0x14000cc76
mov qword [rdi + 0x4110], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4118], r12
mov rcx, qword [rdi + 0x4128]
test rcx, rcx
je 0x14000cc96
mov qword [rdi + 0x4120], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4128], r12
mov qword [rdi + 0x4d00], r12
mov qword [rdi + 0x4150], r12
mov qword [rdi + 0x4148], r12
mov qword [rdi + 0x41e0], r12
mov qword [rdi + 0x41c8], r12
mov qword [rdi + 0x4158], r12
lea rcx, [rdi + 0x4958]
call fcn.140006dc0
mov rcx, qword [rdi + 0x4bf0]
test rcx, rcx
je 0x14000ccec
mov qword [rdi + 0x4be8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4bf0], r12
mov rcx, qword [rdi + 0x4c00]
test rcx, rcx
je 0x14000cd0c
mov qword [rdi + 0x4bf8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4c00], r12
mov rcx, qword [rdi + 0x4c10]
test rcx, rcx
je 0x14000cd2c
mov qword [rdi + 0x4c08], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4c10], r12
mov rcx, qword [rdi + 0x4c50]
test rcx, rcx
je 0x14000cd4c
mov qword [rdi + 0x4c48], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4c50], r12
mov rcx, qword [rdi + 0x4c60]
test rcx, rcx
je 0x14000cd6c
mov qword [rdi + 0x4c58], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4c60], r12
mov rcx, qword [rdi + 0x4c70]
test rcx, rcx
je 0x14000cd8c
mov qword [rdi + 0x4c68], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4c70], r12
mov qword [rdi + 0x4ca0], r12
mov qword [rdi + 0x4c98], r12
mov qword [rdi + 0x4c90], r12
mov ebp, r12d
cmp dword [rdi + 0x4c78], r12d
jle 0x14000ce79
mov r14, r12
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x4c80]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000ce67
mov rsi, qword [rbx + 0x98]
test rsi, rsi
je 0x14000cdf1
mov rcx, rsi
call fcn.140006ce0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rbx + 0xa0]
test rsi, rsi
je 0x14000ce0f
mov rcx, rsi
call fcn.140006ce0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x100]
test rcx, rcx
je 0x14000ce22
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x14000ce35
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
cmp qword [rbx + 0x40], 0
jne 0x14000ce43
cmp qword [rbx + 0x38], 0
je 0x14000ce5e
mov r8d, 0xce4
lea rdx, str.D:VSSource_repos_sharpmacro_old_sharpmacroimguiimgui.h
lea rcx, str.PlatformUserData__0__RendererUserData__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4c78]
jl 0x14000cdc0
mov rcx, qword [rdi + 0x4c80]
test rcx, rcx
je 0x14000ce99
mov qword [rdi + 0x4c78], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4c80], r12
lea rcx, [rdi + 0x5070]
call fcn.140036380
mov rcx, qword [rdi + 0x50a0]
test rcx, rcx
je 0x14000cec5
mov qword [rdi + 0x5098], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x50a0], r12
mov rcx, qword [rdi + 0x50b0]
test rcx, rcx
je 0x14000cee5
mov qword [rdi + 0x50a8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x50b0], r12
mov ebx, r12d
cmp dword [rdi + 0x4ff0], r12d
jle 0x14000cf26
mov rsi, r12
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x4ff8]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14000cf18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4ff0]
jl 0x14000cf00
mov rcx, qword [rdi + 0x4ff8]
test rcx, rcx
je 0x14000cf46
mov qword [rdi + 0x4ff0], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x4ff8], r12
lea rcx, [rdi + 0x5020]
call fcn.1400364e0
mov esi, r12d
cmp dword [rdi + 0x5010], r12d
jle 0x14000cf94
mov rbp, r12
mov rbx, qword [rdi + 0x5018]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.140042b50
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x14000cf86
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
inc esi
add rbp, 0x78
cmp esi, dword [rdi + 0x5010]
jl 0x14000cf61
mov rcx, qword [rdi + 0x5018]
test rcx, rcx
je 0x14000cfb4
mov qword [rdi + 0x5010], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5018], r12
mov rcx, qword [rdi + 0x5060]
test rcx, rcx
je 0x14000cfd4
mov qword [rdi + 0x5058], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5060], r12
mov rcx, qword [rdi + 0x60b0]
test rcx, rcx
je 0x14000cff4
mov qword [rdi + 0x60a8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x60b0], r12
mov rcx, qword [rdi + 0x60c0]
test rcx, rcx
je 0x14000d014
mov qword [rdi + 0x60b8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x60c0], r12
mov rcx, qword [rdi + 0x5100]
test rcx, rcx
je 0x14000d034
mov qword [rdi + 0x50f8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5100], r12
mov rcx, qword [rdi + 0x5110]
test rcx, rcx
je 0x14000d054
mov qword [rdi + 0x5108], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5110], r12
mov rcx, qword [rdi + 0x5120]
test rcx, rcx
je 0x14000d074
mov qword [rdi + 0x5118], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5120], r12
mov dword [rdi + 0x5f78], r12d
mov rcx, qword [rdi + 0x5f88]
test rcx, rcx
je 0x14000d09b
mov qword [rdi + 0x5f80], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x5f88], r12
mov rcx, qword [rdi + 0x61c8]
test rcx, rcx
je 0x14000d0bb
mov qword [rdi + 0x61c0], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x61c8], r12
mov rcx, qword [rdi + 0x61b8]
test rcx, rcx
je 0x14000d0db
mov qword [rdi + 0x61b0], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x61b8], r12
cmp qword [rdi + 0x6258], 0
je 0x14000d10c
mov rbx, qword [rdi + 0x6258]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x14000d105
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x6258], r12
mov rcx, qword [rdi + 0x6268]
test rcx, rcx
je 0x14000d12c
mov qword [rdi + 0x6260], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x6268], r12
mov rcx, qword [rdi + 0x62a0]
test rcx, rcx
je 0x14000d14c
mov qword [rdi + 0x6298], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x62a0], r12
mov rcx, qword [rdi + 0x62b0]
test rcx, rcx
je 0x14000d16c
mov qword [rdi + 0x62a8], r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x62b0], r12
mov dword [rdi + 0x62b8], r12d
mov byte [rdi], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret