Function at 0x14000ce80
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 [0x140255230]
cmp qword [rdi + 0x98], 0
je 0x14000cec1
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 0x14000cee5
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 0x14000cf66
cmp byte [rdi + 1], 0
je 0x14000cf66
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x14000cf66
cmp byte [rbx + 0x18], 0
je 0x14000cf21
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.140042bd0
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x14000cf3d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14000cf4d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14000cf5d
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 0x14000cf8d
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 0x14000d5e6
cmp byte [rdi + 0x6198], r12b
je 0x14000cffe
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14000cffe
mov rax, qword [0x140255230]
mov dword [rax + 0x619c], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.140026b90
mov rsi, rax
lea rdx, [0x14012af1c]
mov rcx, rbx
call fcn.140009890
mov rbx, rax
test rax, rax
je 0x14000cffe
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 [0x140255230]
mov rbx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x14000d031
nop dword [rax]
mov rcx, qword [rbx]
call fcn.14002a020
add rbx, 8
cmp rbx, rsi
jne 0x14000d020
mov esi, r12d
mov eax, dword [rdi + 0x6158]
test eax, eax
jle 0x14000d09c
mov rbp, r12
mov r14, r12
test rbp, rbp
js 0x14000d04d
cmp esi, eax
jl 0x14000d067
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 0x14000d089
mov rcx, rbx
call fcn.14002c380
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 0x14000d044
mov rbx, qword [rdi + 0x61e8]
movsxd rsi, dword [rdi + 0x61e0]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x14000d0d1
cmp dword [rbx + 4], 6
jne 0x14000d0c8
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x14000d0b6
mov esi, r12d
cmp dword [rdi + 0x40e0], r12d
jle 0x14000d10f
mov r14, r12
mov rax, qword [rdi + 0x40e8]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000d101
mov rcx, rbx
call fcn.14000dbb0
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 0x14000d0e0
mov rcx, qword [rdi + 0x40e8]
test rcx, rcx
je 0x14000d12f
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 0x14000d14f
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 0x14000d16f
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 0x14000d196
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 0x14000d1b6
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.140007440
mov rcx, qword [rdi + 0x4bf0]
test rcx, rcx
je 0x14000d20c
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 0x14000d22c
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 0x14000d24c
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 0x14000d26c
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 0x14000d28c
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 0x14000d2ac
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 0x14000d2ee
mov rsi, r12
mov rcx, qword [rdi + 0x4c80]
mov rcx, qword [rsi + rcx]
call fcn.140037580
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x4c78]
jl 0x14000d2d0
mov rcx, qword [rdi + 0x4c80]
test rcx, rcx
je 0x14000d30e
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.1400360e0
mov rcx, qword [rdi + 0x50a0]
test rcx, rcx
je 0x14000d33a
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 0x14000d35a
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 0x14000d396
mov rsi, r12
nop dword [rax]
mov rax, qword [rdi + 0x4ff8]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14000d388
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 0x14000d370
mov rcx, qword [rdi + 0x4ff8]
test rcx, rcx
je 0x14000d3b6
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.140036240
mov esi, r12d
cmp dword [rdi + 0x5010], r12d
jle 0x14000d404
mov rbp, r12
mov rbx, qword [rdi + 0x5018]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.140042140
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x14000d3f6
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 0x14000d3d1
mov rcx, qword [rdi + 0x5018]
test rcx, rcx
je 0x14000d424
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 0x14000d444
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 0x14000d464
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 0x14000d484
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 0x14000d4a4
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 0x14000d4c4
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 0x14000d4e4
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 0x14000d50b
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 0x14000d52b
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 0x14000d54b
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 0x14000d57c
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 0x14000d575
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 0x14000d59c
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 0x14000d5bc
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 0x14000d5dc
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