Function at 0x14000cae0
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 [0x14020c350]
cmp qword [rdi + 0x98], 0
je 0x14000cb21
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 0x14000cb45
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 0x14000cbc6
cmp byte [rdi + 1], 0
je 0x14000cbc6
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x14000cbc6
cmp byte [rbx + 0x18], 0
je 0x14000cb81
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.140042c00
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14000cb9d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14000cbad
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000cbbd
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 0x14000cbed
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 0x14000d246
cmp byte [rdi + 0x6198], r12b
je 0x14000cc5e
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000cc5e
mov rax, qword [0x14020c350]
mov dword [rax + 0x619c], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.1400267a0
mov rsi, rax
lea rdx, [0x1400e6fec]
mov rcx, rbx
call fcn.140009290
mov rbx, rax
test rax, rax
je 0x14000cc5e
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 [0x14020c350]
mov rbx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x14000cc91
nop dword [rax]
mov rcx, qword [rbx]
call fcn.140029c50
add rbx, 8
cmp rbx, rsi
jne 0x14000cc80
mov esi, r12d
mov eax, dword [rdi + 0x6158]
test eax, eax
jle 0x14000ccfc
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14000ccad
cmp esi, eax
jl 0x14000ccc7
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 [rax + r14 + 8]
test rbx, rbx
je 0x14000cce9
mov rcx, rbx
call fcn.14002c080
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 0x14000cca4
mov rbx, qword [rdi + 0x61e8]
movsxd rsi, dword [rdi + 0x61e0]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x14000cd31
cmp dword [rbx + 4], 6
jne 0x14000cd28
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x14000cd16
mov esi, r12d
cmp dword [rdi + 0x40e0], r12d
jle 0x14000cd6f
mov r14, r12
mov rax, qword [rdi + 0x40e8]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000cd61
mov rcx, rbx
call fcn.14000d810
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 0x14000cd40
mov rcx, qword [rdi + 0x40e8]
test rcx, rcx
je 0x14000cd8f
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 0x14000cdaf
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 0x14000cdcf
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 0x14000cdf6
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 0x14000ce16
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.140006e60
mov rcx, qword [rdi + 0x4bf0]
test rcx, rcx
je 0x14000ce6c
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 0x14000ce8c
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 0x14000ceac
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 0x14000cecc
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 0x14000ceec
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 0x14000cf0c
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 ebx, r12d
cmp dword [rdi + 0x4c78], r12d
jle 0x14000cf4e
mov rsi, r12
mov rcx, qword [rdi + 0x4c80]
mov rcx, qword [rsi + rcx]
call fcn.140036fe0
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x4c78]
jl 0x14000cf30
mov rcx, qword [rdi + 0x4c80]
test rcx, rcx
je 0x14000cf6e
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.140035b40
mov rcx, qword [rdi + 0x50a0]
test rcx, rcx
je 0x14000cf9a
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 0x14000cfba
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 0x14000cff6
mov rsi, r12
nop dword [rax]
mov rax, qword [rdi + 0x4ff8]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14000cfe8
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 0x14000cfd0
mov rcx, qword [rdi + 0x4ff8]
test rcx, rcx
je 0x14000d016
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.140035ca0
mov esi, r12d
cmp dword [rdi + 0x5010], r12d
jle 0x14000d064
mov rbp, r12
mov rbx, qword [rdi + 0x5018]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.140042170
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x14000d056
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 0x14000d031
mov rcx, qword [rdi + 0x5018]
test rcx, rcx
je 0x14000d084
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 0x14000d0a4
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 0x14000d0c4
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 0x14000d0e4
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 0x14000d104
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 0x14000d124
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 0x14000d144
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 0x14000d16b
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 0x14000d18b
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 0x14000d1ab
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 0x14000d1dc
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 0x14000d1d5
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 0x14000d1fc
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 0x14000d21c
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 0x14000d23c
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