Function at 0x140007eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0xa8]
mov rbx, rcx
test rax, rax
je 0x140007f00
cmp byte [rcx + 1], 0
je 0x140007f00
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140007f00
mov rcx, rdi
call fcn.1400229d0
mov rax, qword [0x1400f6a80]
test rax, rax
je 0x140007ef7
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r14d, r14d
mov qword [rbx + 0xa8], r14
cmp byte [rbx], r14b
je 0x140008573
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
cmp byte [rbx + 0x3101], r14b
je 0x140007f93
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140007f93
mov rsi, qword [0x1400f6a80]
lea rcx, [rsp + 0x40]
mov qword [0x1400f6a80], rbx
mov dword [rbx + 0x3104], r14d
mov qword [rsp + 0x40], r14
call fcn.140015740
lea rdx, [0x1400c1e84]
mov rcx, rdi
mov rbp, rax
call fcn.140003620
mov rdi, rax
test rax, rax
je 0x140007f8c
mov r8, qword [rsp + 0x40]
mov r9, rax
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 [0x1400f6a80], rsi
mov edx, 6
mov rcx, rbx
call fcn.1400059e0
mov eax, dword [rbx + 0x1ab8]
mov ebp, r14d
test eax, eax
jle 0x140008015
mov rsi, r14
test rsi, rsi
js 0x140007fb9
cmp ebp, eax
jl 0x140007fd3
mov r8d, 0x658
lea rdx, str.C:UsersPCDesktopOtherStaffBestingSourcesSTAFFBESTING_ULTIMATE_LOADERimgui.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 + 0x1ac0]
mov rdi, qword [rax + rsi*8]
test rdi, rdi
je 0x140008006
mov rcx, rdi
call fcn.140005070
mov rax, qword [0x1400f6a80]
test rax, rax
je 0x140007ffd
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1ab8]
inc ebp
inc rsi
cmp ebp, eax
jl 0x140007fb0
mov rcx, qword [rbx + 0x1ac0]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
test rcx, rcx
je 0x140008051
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1ab8], r14
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 + 0x1ac0], r14
mov rcx, qword [rbx + 0x1ad0]
test rcx, rcx
je 0x140008083
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1ac8], r14
test rax, rax
je 0x140008076
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ad0], r14
mov rcx, qword [rbx + 0x1ae0]
test rcx, rcx
je 0x1400080b5
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1ad8], r14
test rax, rax
je 0x1400080a8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ae0], r14
mov qword [rbx + 0x1b10], r14
mov rcx, qword [rbx + 0x1af0]
test rcx, rcx
je 0x1400080ee
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1ae8], r14
test rax, rax
je 0x1400080e1
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1af0], r14
mov rcx, qword [rbx + 0x1b00]
test rcx, rcx
je 0x140008120
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1af8], r14
test rax, rax
je 0x140008113
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b00], r14
mov qword [rbx + 0x1cc0], r14
mov qword [rbx + 0x1b28], r14
mov qword [rbx + 0x1b20], r14
mov qword [rbx + 0x1b18], r14
mov qword [rbx + 0x1ba8], r14
mov qword [rbx + 0x1b90], r14
mov qword [rbx + 0x1b30], r14
mov rcx, qword [rbx + 0x1c48]
test rcx, rcx
je 0x140008183
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1c40], r14
test rax, rax
je 0x140008176
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c48], r14
mov rcx, qword [rbx + 0x1c58]
test rcx, rcx
je 0x1400081b5
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1c50], r14
test rax, rax
je 0x1400081a8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c58], r14
mov rcx, qword [rbx + 0x1c68]
test rcx, rcx
je 0x1400081e7
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1c60], r14
test rax, rax
je 0x1400081da
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c68], r14
mov rcx, qword [rbx + 0x1ca8]
test rcx, rcx
je 0x140008219
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1ca0], r14
test rax, rax
je 0x14000820c
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ca8], r14
mov rcx, qword [rbx + 0x1cb8]
test rcx, rcx
je 0x14000824b
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1cb0], r14
test rax, rax
je 0x14000823e
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1cb8], r14
mov rcx, qword [rbx + 0x1e80]
test rcx, rcx
je 0x14000827d
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x1e78], r14
test rax, rax
je 0x140008270
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e80], r14
cmp qword [rbx + 0x1e90], r14
je 0x1400082b8
mov qword [rbx + 0x1e88], r14
mov rcx, qword [rbx + 0x1e90]
test rcx, rcx
je 0x1400082ab
mov rax, qword [0x1400f6a80]
test rax, rax
je 0x1400082ab
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e90], r14
lea rcx, [rbx + 0x1ea0]
call fcn.14001f620
lea rcx, [rbx + 0x1f60]
call fcn.14001f620
lea rcx, [rbx + 0x2130]
call fcn.140016360
mov rcx, qword [rbx + 0x2160]
test rcx, rcx
je 0x14000830e
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x2158], r14
test rax, rax
je 0x140008301
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2160], r14
mov rcx, qword [rbx + 0x2170]
test rcx, rcx
je 0x140008340
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x2168], r14
test rax, rax
je 0x140008333
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2170], r14
lea rcx, [rbx + 0x20d0]
call fcn.140016540
mov rcx, qword [rbx + 0x2100]
test rcx, rcx
je 0x14000837e
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x20f8], r14
test rax, rax
je 0x140008371
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2100], r14
mov rcx, qword [rbx + 0x2120]
test rcx, rcx
je 0x1400083b0
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x2118], r14
test rax, rax
je 0x1400083a3
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2120], r14
mov rcx, qword [rbx + 0x30d8]
test rcx, rcx
je 0x1400083e2
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x30d0], r14
test rax, rax
je 0x1400083d5
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30d8], r14
mov rcx, qword [rbx + 0x30e8]
test rcx, rcx
je 0x140008414
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x30e0], r14
test rax, rax
je 0x140008407
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30e8], r14
mov rcx, qword [rbx + 0x2198]
test rcx, rcx
je 0x140008446
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x2190], r14
test rax, rax
je 0x140008439
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2198], r14
mov rcx, qword [rbx + 0x21a8]
test rcx, rcx
je 0x140008478
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x21a0], r14
test rax, rax
je 0x14000846b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21a8], r14
mov rcx, qword [rbx + 0x21b8]
test rcx, rcx
je 0x1400084aa
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x21b0], r14
test rax, rax
je 0x14000849d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21b8], r14
mov rcx, qword [rbx + 0x3130]
test rcx, rcx
je 0x1400084dc
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x3128], r14
test rax, rax
je 0x1400084cf
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3130], r14
mov rcx, qword [rbx + 0x3120]
test rcx, rcx
je 0x14000850e
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x3118], r14
test rax, rax
je 0x140008501
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3120], r14
cmp qword [rbx + 0x3160], r14
je 0x14000853e
mov rdi, qword [rbx + 0x3160]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140008537
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3160], r14
mov rcx, qword [rbx + 0x3170]
test rcx, rcx
je 0x140008570
mov rax, qword [0x1400f6a80]
mov qword [rbx + 0x3168], r14
test rax, rax
je 0x140008563
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3170], r14
mov byte [rbx], r14b
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret