Function at 0x14000a3d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0xa8]
mov rbx, rcx
test rax, rax
je 0x14000a420
cmp byte [rcx + 1], 0
je 0x14000a420
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14000a420
mov rcx, rdi
call fcn.1400361d0
mov rax, qword [0x140067ef8]
test rax, rax
je 0x14000a417
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r15d, r15d
mov qword [rbx + 0xa8], r15
cmp byte [rbx], r15b
je 0x14000aadc
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
cmp byte [rbx + 0x2fb8], r15b
je 0x14000a4ad
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14000a4ad
mov rsi, qword [0x140067ef8]
lea rcx, [rsp + 0x40]
mov qword [0x140067ef8], rbx
mov dword [rbx + 0x2fbc], r15d
mov qword [rsp + 0x40], r15
call fcn.14001a740
lea rdx, [0x140058fc4]
mov rcx, rdi
mov rbp, rax
call fcn.140004eb0
mov rdi, rax
test rax, rax
je 0x14000a4b4
mov r8, qword [rsp + 0x40]
lea edx, [r15 + 1]
mov r9, rax
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]
jmp 0x14000a4b4
mov rsi, qword [0x140067ef8]
mov qword [0x140067ef8], rbx
call fcn.14001d6a0
mov eax, dword [rbx + 0x2f80]
mov qword [0x140067ef8], rsi
mov esi, r15d
test eax, eax
jle 0x14000a54f
mov qword [rsp + 0x58], r14
mov rbp, r15
mov r14, r15
nop
test rbp, rbp
js 0x14000a4e9
cmp esi, eax
jl 0x14000a503
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.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 + 0x2f88]
mov rdi, qword [rax + r14 + 8]
test rdi, rdi
je 0x14000a537
mov rcx, rdi
call fcn.14001f5f0
mov rax, qword [0x140067ef8]
test rax, rax
je 0x14000a52e
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x2f80]
inc esi
inc rbp
add r14, 0x10
cmp esi, eax
jl 0x14000a4e0
mov r14, qword [rsp + 0x58]
mov edx, 6
mov rcx, rbx
call fcn.140007850
mov eax, dword [rbx + 0x1b38]
mov ebp, r15d
test eax, eax
jle 0x14000a5d5
mov rsi, r15
nop dword [rax]
test rsi, rsi
js 0x14000a579
cmp ebp, eax
jl 0x14000a593
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.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 + 0x1b40]
mov rdi, qword [rax + rsi*8]
test rdi, rdi
je 0x14000a5c6
mov rcx, rdi
call fcn.1400299e0
mov rax, qword [0x140067ef8]
test rax, rax
je 0x14000a5bd
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbx + 0x1b38]
inc ebp
inc rsi
cmp ebp, eax
jl 0x14000a570
mov rcx, qword [rbx + 0x1b40]
mov rbp, qword [rsp + 0x48]
test rcx, rcx
je 0x14000a60c
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1b38], r15
test rax, rax
je 0x14000a5ff
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b40], r15
mov rcx, qword [rbx + 0x1b50]
test rcx, rcx
je 0x14000a63e
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1b48], r15
test rax, rax
je 0x14000a631
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b50], r15
mov rcx, qword [rbx + 0x1b60]
test rcx, rcx
je 0x14000a670
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1b58], r15
test rax, rax
je 0x14000a663
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b60], r15
mov qword [rbx + 0x1b90], r15
mov rcx, qword [rbx + 0x1b70]
test rcx, rcx
je 0x14000a6a9
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1b68], r15
test rax, rax
je 0x14000a69c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b70], r15
mov rcx, qword [rbx + 0x1b80]
test rcx, rcx
je 0x14000a6db
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1b78], r15
test rax, rax
je 0x14000a6ce
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1b80], r15
mov qword [rbx + 0x1d70], r15
mov qword [rbx + 0x1ba8], r15
mov qword [rbx + 0x1ba0], r15
mov qword [rbx + 0x1b98], r15
mov qword [rbx + 0x1c30], r15
mov qword [rbx + 0x1c18], r15
mov qword [rbx + 0x1bb8], r15
mov rcx, qword [rbx + 0x1cf0]
test rcx, rcx
je 0x14000a73e
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1ce8], r15
test rax, rax
je 0x14000a731
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1cf0], r15
mov rcx, qword [rbx + 0x1d00]
test rcx, rcx
je 0x14000a770
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1cf8], r15
test rax, rax
je 0x14000a763
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d00], r15
mov rcx, qword [rbx + 0x1d10]
test rcx, rcx
je 0x14000a7a2
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1d08], r15
test rax, rax
je 0x14000a795
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d10], r15
mov rcx, qword [rbx + 0x1d20]
test rcx, rcx
je 0x14000a7d4
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1d18], r15
test rax, rax
je 0x14000a7c7
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d20], r15
mov rcx, qword [rbx + 0x1d30]
test rcx, rcx
je 0x14000a806
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1d28], r15
test rax, rax
je 0x14000a7f9
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d30], r15
mov eax, dword [rbx + 0x1d38]
mov edi, r15d
mov qword [rbx + 0x1d60], r15
mov qword [rbx + 0x1d58], r15
mov qword [rbx + 0x1d50], r15
test eax, eax
jle 0x14000a872
mov rsi, r15
nop dword [rax + rax]
test rsi, rsi
js 0x14000a839
cmp edi, eax
jl 0x14000a853
mov r8d, 0x5c3
lea rdx, str.C:Users_smirnovcheksDesktopmainworkRockstar_Premium_Loaderimgui_dockingimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x1d40]
mov rcx, qword [rcx + rsi*8]
call fcn.1400298c0
mov eax, dword [rbx + 0x1d38]
inc edi
inc rsi
cmp edi, eax
jl 0x14000a830
mov rcx, qword [rbx + 0x1d40]
mov rsi, qword [rsp + 0x50]
test rcx, rcx
je 0x14000a8a9
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1d38], r15
test rax, rax
je 0x14000a89c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d40], r15
lea rcx, [rbx + 0x1fa0]
call fcn.1400285d0
mov rcx, qword [rbx + 0x1fd0]
test rcx, rcx
je 0x14000a8e7
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1fc8], r15
test rax, rax
je 0x14000a8da
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1fd0], r15
mov rcx, qword [rbx + 0x1fe0]
test rcx, rcx
je 0x14000a919
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x1fd8], r15
test rax, rax
je 0x14000a90c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1fe0], r15
mov rcx, qword [rbx + 0x2f48]
test rcx, rcx
je 0x14000a94b
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2f40], r15
test rax, rax
je 0x14000a93e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f48], r15
mov rcx, qword [rbx + 0x2f58]
test rcx, rcx
je 0x14000a97d
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2f50], r15
test rax, rax
je 0x14000a970
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f58], r15
mov rcx, qword [rbx + 0x2008]
test rcx, rcx
je 0x14000a9af
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2000], r15
test rax, rax
je 0x14000a9a2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2008], r15
mov rcx, qword [rbx + 0x2018]
test rcx, rcx
je 0x14000a9e1
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2010], r15
test rax, rax
je 0x14000a9d4
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2018], r15
mov rcx, qword [rbx + 0x2028]
test rcx, rcx
je 0x14000aa13
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2020], r15
test rax, rax
je 0x14000aa06
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2028], r15
mov rcx, qword [rbx + 0x2fe8]
test rcx, rcx
je 0x14000aa45
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2fe0], r15
test rax, rax
je 0x14000aa38
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2fe8], r15
mov rcx, qword [rbx + 0x2fd8]
test rcx, rcx
je 0x14000aa77
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x2fd0], r15
test rax, rax
je 0x14000aa6a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2fd8], r15
cmp qword [rbx + 0x3008], r15
je 0x14000aaa7
mov rdi, qword [rbx + 0x3008]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14000aaa0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3008], r15
mov rcx, qword [rbx + 0x3018]
test rcx, rcx
je 0x14000aad9
mov rax, qword [0x140067ef8]
mov qword [rbx + 0x3010], r15
test rax, rax
je 0x14000aacc
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3018], r15
mov byte [rbx], r15b
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret