Function at 0x140005da0
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 rdi, qword [0x1401c50a8]
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140005e3c
cmp byte [rdi + 1], 0
je 0x140005e3c
mov byte [rax + 0x18], 0
mov rbx, qword [rdi + 0x38]
test rbx, rbx
je 0x140005e3c
cmp byte [rbx + 0x18], 0
je 0x140005dfb
mov r8d, 0xb3f
lea rdx, str.C:UsersAlanDesktopimgui_ragnarekimgui_RAGNAREKimgui_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.140028820
nop
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140005e16
call fcn.140007770
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140005e25
call fcn.140007770
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140005e34
call fcn.140007770
nop
mov rcx, rbx
call fcn.140007770
xor r15d, r15d
mov qword [rdi + 0x38], r15
mov rcx, qword [rdi + 0x3da0]
test rcx, rcx
je 0x140005e62
mov qword [rdi + 0x3d98], r15
call fcn.140007770
mov qword [rdi + 0x3da0], r15
cmp byte [rdi], r15b
je 0x140006457
cmp byte [rdi + 0x5f18], r15b
je 0x140005ed3
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140005ed3
mov rax, qword [0x1401c50a8]
mov dword [rax + 0x5f1c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001e3a0
mov rsi, rax
lea rdx, [0x1400e91dc]
mov rcx, rbx
call fcn.1400036f0
mov rbx, rax
test rax, rax
je 0x140005ed3
mov r9, rax
mov r8, qword [rsp + 0x40]
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 rbx, qword [rdi + 0x5f68]
movsxd rsi, dword [rdi + 0x5f60]
shl rsi, 5
add rsi, rbx
cmp rbx, rsi
je 0x140005f0b
nop dword [rax]
cmp dword [rbx + 4], 6
jne 0x140005f02
mov rax, qword [rbx + 0x10]
mov rdx, rbx
mov rcx, rdi
call rax
add rbx, 0x20
cmp rbx, rsi
jne 0x140005ef0
mov ebx, r15d
cmp dword [rdi + 0x3fd8], r15d
jle 0x140005f4e
mov r14, r15
nop word [rax + rax]
mov rax, qword [rdi + 0x3fe0]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x140005f40
mov rcx, rsi
call fcn.140006930
mov rcx, rsi
call fcn.140007770
inc ebx
add r14, 8
cmp ebx, dword [rdi + 0x3fd8]
jl 0x140005f20
mov rcx, qword [rdi + 0x3fe0]
test rcx, rcx
je 0x140005f6d
mov qword [rdi + 0x3fd8], r15
call fcn.140007770
mov qword [rdi + 0x3fe0], r15
mov rcx, qword [rdi + 0x3ff0]
test rcx, rcx
je 0x140005f8c
mov qword [rdi + 0x3fe8], r15
call fcn.140007770
mov qword [rdi + 0x3ff0], r15
mov rcx, qword [rdi + 0x4000]
test rcx, rcx
je 0x140005fab
mov qword [rdi + 0x3ff8], r15
call fcn.140007770
mov qword [rdi + 0x4000], r15
mov qword [rdi + 0x4038], r15
mov rcx, qword [rdi + 0x4010]
test rcx, rcx
je 0x140005fd1
mov qword [rdi + 0x4008], r15
call fcn.140007770
mov qword [rdi + 0x4010], r15
mov rcx, qword [rdi + 0x4020]
test rcx, rcx
je 0x140005ff0
mov qword [rdi + 0x4018], r15
call fcn.140007770
mov qword [rdi + 0x4020], r15
mov qword [rdi + 0x4b08], r15
mov qword [rdi + 0x4048], r15
mov qword [rdi + 0x4040], r15
mov qword [rdi + 0x40d0], r15
mov qword [rdi + 0x40b8], r15
mov qword [rdi + 0x4050], r15
lea rcx, [rdi + 0x4818]
call fcn.1400012a0
mov rcx, qword [rdi + 0x4a68]
test rcx, rcx
je 0x140006045
mov qword [rdi + 0x4a60], r15
call fcn.140007770
mov qword [rdi + 0x4a68], r15
mov rcx, qword [rdi + 0x4a78]
test rcx, rcx
je 0x140006064
mov qword [rdi + 0x4a70], r15
call fcn.140007770
mov qword [rdi + 0x4a78], r15
mov rcx, qword [rdi + 0x4a88]
test rcx, rcx
je 0x140006083
mov qword [rdi + 0x4a80], r15
call fcn.140007770
mov qword [rdi + 0x4a88], r15
mov rcx, qword [rdi + 0x4ac8]
test rcx, rcx
je 0x1400060a2
mov qword [rdi + 0x4ac0], r15
call fcn.140007770
mov qword [rdi + 0x4ac8], r15
mov rcx, qword [rdi + 0x4ad8]
test rcx, rcx
je 0x1400060c1
mov qword [rdi + 0x4ad0], r15
call fcn.140007770
mov qword [rdi + 0x4ad8], r15
mov rcx, qword [rdi + 0x4ae8]
test rcx, rcx
je 0x1400060e0
mov qword [rdi + 0x4ae0], r15
call fcn.140007770
mov qword [rdi + 0x4ae8], r15
mov ebp, r15d
cmp dword [rdi + 0x4af8], r15d
jle 0x14000616a
mov r14, r15
nop
mov rax, qword [rdi + 0x4b00]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000615c
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x140006119
mov rcx, rsi
call fcn.140001120
mov rcx, rsi
call fcn.140007770
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x140006133
mov rcx, rsi
call fcn.140001120
mov rcx, rsi
call fcn.140007770
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140006145
call fcn.140007770
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140006154
call fcn.140007770
nop
mov rcx, rbx
call fcn.140007770
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4af8]
jl 0x1400060f0
mov rcx, qword [rdi + 0x4b00]
test rcx, rcx
je 0x140006189
mov qword [rdi + 0x4af8], r15
call fcn.140007770
mov qword [rdi + 0x4b00], r15
lea rcx, [rdi + 0x4e48]
call fcn.14001f8d0
mov rcx, qword [rdi + 0x4e78]
test rcx, rcx
je 0x1400061b4
mov qword [rdi + 0x4e70], r15
call fcn.140007770
mov qword [rdi + 0x4e78], r15
mov rcx, qword [rdi + 0x4e88]
test rcx, rcx
je 0x1400061d3
mov qword [rdi + 0x4e80], r15
call fcn.140007770
mov qword [rdi + 0x4e88], r15
mov ebx, r15d
cmp dword [rdi + 0x4dc8], r15d
jle 0x140006215
mov rsi, r15
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4dd0]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x140006207
call fcn.140007770
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4dc8]
jl 0x1400061f0
mov rcx, qword [rdi + 0x4dd0]
test rcx, rcx
je 0x140006234
mov qword [rdi + 0x4dc8], r15
call fcn.140007770
mov qword [rdi + 0x4dd0], r15
lea rcx, [rdi + 0x4df8]
call fcn.14001fa20
mov esi, r15d
cmp dword [rdi + 0x4de8], r15d
jle 0x140006282
mov rbp, r15
nop
mov rbx, qword [rdi + 0x4df0]
lea rcx, [rbx + 0x18]
add rcx, rbp
call fcn.140027a60
nop
mov rcx, qword [rbx + rbp + 0x28]
test rcx, rcx
je 0x140006274
call fcn.140007770
nop
inc esi
add rbp, 0x78
cmp esi, dword [rdi + 0x4de8]
jl 0x140006250
mov rcx, qword [rdi + 0x4df0]
test rcx, rcx
je 0x1400062a1
mov qword [rdi + 0x4de8], r15
call fcn.140007770
mov qword [rdi + 0x4df0], r15
mov rcx, qword [rdi + 0x4e38]
test rcx, rcx
je 0x1400062c0
mov qword [rdi + 0x4e30], r15
call fcn.140007770
mov qword [rdi + 0x4e38], r15
mov rcx, qword [rdi + 0x5e78]
test rcx, rcx
je 0x1400062df
mov qword [rdi + 0x5e70], r15
call fcn.140007770
mov qword [rdi + 0x5e78], r15
mov rcx, qword [rdi + 0x5e88]
test rcx, rcx
je 0x1400062fe
mov qword [rdi + 0x5e80], r15
call fcn.140007770
mov qword [rdi + 0x5e88], r15
mov rcx, qword [rdi + 0x4ed8]
test rcx, rcx
je 0x14000631d
mov qword [rdi + 0x4ed0], r15
call fcn.140007770
mov qword [rdi + 0x4ed8], r15
mov rcx, qword [rdi + 0x4ee8]
test rcx, rcx
je 0x14000633c
mov qword [rdi + 0x4ee0], r15
call fcn.140007770
mov qword [rdi + 0x4ee8], r15
mov rcx, qword [rdi + 0x4ef8]
test rcx, rcx
je 0x14000635b
mov qword [rdi + 0x4ef0], r15
call fcn.140007770
mov qword [rdi + 0x4ef8], r15
mov dword [rdi + 0x5d48], r15d
mov rcx, qword [rdi + 0x5d58]
test rcx, rcx
je 0x140006381
mov qword [rdi + 0x5d50], r15
call fcn.140007770
mov qword [rdi + 0x5d58], r15
mov rcx, qword [rdi + 0x5f48]
test rcx, rcx
je 0x1400063a0
mov qword [rdi + 0x5f40], r15
call fcn.140007770
mov qword [rdi + 0x5f48], r15
mov rcx, qword [rdi + 0x5f38]
test rcx, rcx
je 0x1400063bf
mov qword [rdi + 0x5f30], r15
call fcn.140007770
mov qword [rdi + 0x5f38], r15
cmp qword [rdi + 0x5fc0], 0
je 0x1400063f0
mov rbx, qword [rdi + 0x5fc0]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x1400063e9
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x5fc0], r15
mov rcx, qword [rdi + 0x5fd0]
test rcx, rcx
je 0x14000640f
mov qword [rdi + 0x5fc8], r15
call fcn.140007770
mov qword [rdi + 0x5fd0], r15
mov rcx, qword [rdi + 0x6008]
test rcx, rcx
je 0x14000642e
mov qword [rdi + 0x6000], r15
call fcn.140007770
mov qword [rdi + 0x6008], r15
mov rcx, qword [rdi + 0x6018]
test rcx, rcx
je 0x14000644d
mov qword [rdi + 0x6010], r15
call fcn.140007770
mov qword [rdi + 0x6018], r15
mov dword [rdi + 0x6020], r15d
mov byte [rdi], 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