Function at 0x140006670
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 rax, qword [0x14008fd50]
mov rdi, rax
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1400066de
cmp byte [rax + 1], 0
je 0x1400066de
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x1400066de
mov rcx, rbx
call fcn.14003cba0
mov rax, qword [0x14008fd50]
test rax, rax
je 0x1400066c8
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x14008fd50]
xor r15d, r15d
mov qword [rdi + 0x58], r15
mov rcx, qword [rdi + 0x3d78]
test rcx, rcx
je 0x14000671d
mov qword [rdi + 0x3d70], r15
test rax, rax
je 0x140006703
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x3d78], r15
mov rax, qword [0x14008fd50]
cmp byte [rdi], r15b
je 0x140006fe8
cmp byte [rdi + 0x5d60], r15b
je 0x140006787
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140006787
mov dword [rax + 0x5d64], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001fc80
mov rsi, rax
lea rdx, [0x14007722c]
mov rcx, rbx
call fcn.140003630
mov rbx, rax
test rax, rax
je 0x140006787
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]
call fcn.140022f10
mov esi, r15d
mov eax, dword [rdi + 0x5d28]
test eax, eax
jle 0x14000684c
mov rbp, r15
mov r14, r15
test rbp, rbp
js 0x1400067ac
cmp esi, eax
jl 0x1400067c6
mov r8d, 0x745
lea rdx, str.G:VisualStudioProjectsMove_Splicerimgui.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 + 0x5d30]
mov rbx, qword [rax + r14 + 8]
test rbx, rbx
je 0x140006835
mov rcx, qword [rbx + 0x40]
call fcn.140030810
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x20], r15
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140006814
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006807
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
nop
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006826
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
inc esi
inc rbp
add r14, 0x10
mov eax, dword [rdi + 0x5d28]
cmp esi, eax
jl 0x1400067a3
mov edx, 6
mov rcx, rdi
call fcn.140007010
mov esi, r15d
cmp dword [rdi + 0x3f78], r15d
jle 0x1400068b7
mov r14, r15
nop dword [rax + rax]
mov rax, qword [rdi + 0x3f80]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x1400068a9
mov rcx, rbx
call fcn.1400308a0
mov rax, qword [0x14008fd50]
test rax, rax
je 0x14000689a
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
inc esi
add r14, 8
cmp esi, dword [rdi + 0x3f78]
jl 0x140006870
mov rcx, qword [rdi + 0x3f80]
test rcx, rcx
je 0x1400068ef
mov qword [rdi + 0x3f78], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x1400068dc
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x3f80], r15
mov rcx, qword [rdi + 0x3f90]
test rcx, rcx
je 0x140006927
mov qword [rdi + 0x3f88], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006914
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x3f90], r15
mov rcx, qword [rdi + 0x3fa0]
test rcx, rcx
je 0x14000695f
mov qword [rdi + 0x3f98], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x14000694c
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x3fa0], r15
mov qword [rdi + 0x3fd8], r15
mov rcx, qword [rdi + 0x3fb0]
test rcx, rcx
je 0x14000699e
mov qword [rdi + 0x3fa8], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x14000698b
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x3fb0], r15
mov rcx, qword [rdi + 0x3fc0]
test rcx, rcx
je 0x1400069d6
mov qword [rdi + 0x3fb8], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x1400069c3
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x3fc0], r15
mov qword [rdi + 0x4a28], r15
mov qword [rdi + 0x3fe8], r15
mov qword [rdi + 0x3fe0], r15
mov qword [rdi + 0x4070], r15
mov qword [rdi + 0x4058], r15
mov qword [rdi + 0x3ff0], r15
lea rcx, [rdi + 0x4710]
call fcn.140001360
mov rcx, qword [rdi + 0x4948]
test rcx, rcx
je 0x140006a44
mov qword [rdi + 0x4940], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006a31
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4948], r15
mov rcx, qword [rdi + 0x4958]
test rcx, rcx
je 0x140006a7c
mov qword [rdi + 0x4950], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006a69
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4958], r15
mov rcx, qword [rdi + 0x4968]
test rcx, rcx
je 0x140006ab4
mov qword [rdi + 0x4960], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006aa1
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4968], r15
mov rcx, qword [rdi + 0x49a8]
test rcx, rcx
je 0x140006aec
mov qword [rdi + 0x49a0], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006ad9
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x49a8], r15
mov rcx, qword [rdi + 0x49b8]
test rcx, rcx
je 0x140006b24
mov qword [rdi + 0x49b0], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006b11
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x49b8], r15
mov qword [rdi + 0x49f0], r15
mov qword [rdi + 0x49e8], r15
mov qword [rdi + 0x49e0], r15
mov ebx, r15d
cmp dword [rdi + 0x49c8], r15d
jle 0x140006b6e
mov rsi, r15
nop dword [rax + rax]
mov rcx, qword [rdi + 0x49d0]
mov rcx, qword [rsi + rcx]
call fcn.140030710
inc ebx
lea rsi, [rsi + 8]
cmp ebx, dword [rdi + 0x49c8]
jl 0x140006b50
mov rcx, qword [rdi + 0x49d0]
test rcx, rcx
je 0x140006ba6
mov qword [rdi + 0x49c8], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006b93
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x49d0], r15
lea rcx, [rdi + 0x4d00]
call fcn.14002f400
mov rcx, qword [rdi + 0x4d30]
test rcx, rcx
je 0x140006bea
mov qword [rdi + 0x4d28], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006bd7
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4d30], r15
mov rcx, qword [rdi + 0x4d40]
test rcx, rcx
je 0x140006c22
mov qword [rdi + 0x4d38], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006c0f
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4d40], r15
mov ebx, r15d
cmp dword [rdi + 0x4c80], r15d
jle 0x140006c6f
mov rsi, r15
mov rax, qword [rdi + 0x4c88]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x140006c61
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006c54
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4c80]
jl 0x140006c31
mov rcx, qword [rdi + 0x4c88]
test rcx, rcx
je 0x140006ca7
mov qword [rdi + 0x4c80], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006c94
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4c88], r15
lea rcx, [rdi + 0x4cb0]
call fcn.14002f5f0
mov esi, r15d
cmp dword [rdi + 0x4ca0], r15d
jle 0x140006d0d
mov rbp, r15
mov rbx, qword [rdi + 0x4ca8]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.14003c220
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x140006cff
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006cf2
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
nop
inc esi
add rbp, 0x70
cmp esi, dword [rdi + 0x4ca0]
jl 0x140006cc2
mov rcx, qword [rdi + 0x4ca8]
test rcx, rcx
je 0x140006d45
mov qword [rdi + 0x4ca0], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006d32
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4ca8], r15
mov rcx, qword [rdi + 0x4cf0]
test rcx, rcx
je 0x140006d7d
mov qword [rdi + 0x4ce8], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006d6a
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4cf0], r15
mov rcx, qword [rdi + 0x5ce8]
test rcx, rcx
je 0x140006db5
mov qword [rdi + 0x5ce0], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006da2
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5ce8], r15
mov rcx, qword [rdi + 0x5cf8]
test rcx, rcx
je 0x140006ded
mov qword [rdi + 0x5cf0], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006dda
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5cf8], r15
mov rcx, qword [rdi + 0x4d80]
test rcx, rcx
je 0x140006e25
mov qword [rdi + 0x4d78], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006e12
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4d80], r15
mov rcx, qword [rdi + 0x4d90]
test rcx, rcx
je 0x140006e5d
mov qword [rdi + 0x4d88], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006e4a
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4d90], r15
mov rcx, qword [rdi + 0x4da0]
test rcx, rcx
je 0x140006e95
mov qword [rdi + 0x4d98], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006e82
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x4da0], r15
mov rcx, qword [rdi + 0x5d90]
test rcx, rcx
je 0x140006ecd
mov qword [rdi + 0x5d88], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006eba
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5d90], r15
mov rcx, qword [rdi + 0x5d80]
test rcx, rcx
je 0x140006f05
mov qword [rdi + 0x5d78], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006ef2
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5d80], r15
cmp qword [rdi + 0x5e08], 0
je 0x140006f36
mov rbx, qword [rdi + 0x5e08]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rax
je 0x140006f2f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rdi + 0x5e08], r15
mov rcx, qword [rdi + 0x5e18]
test rcx, rcx
je 0x140006f6e
mov qword [rdi + 0x5e10], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006f5b
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5e18], r15
mov rcx, qword [rdi + 0x5e50]
test rcx, rcx
je 0x140006fa6
mov qword [rdi + 0x5e48], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006f93
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5e50], r15
mov rcx, qword [rdi + 0x5e60]
test rcx, rcx
je 0x140006fde
mov qword [rdi + 0x5e58], r15
mov rax, qword [0x14008fd50]
test rax, rax
je 0x140006fcb
dec dword [rax + 0xfc]
mov rdx, qword [0x14008fd40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rdi + 0x5e60], r15
mov dword [rdi + 0x5e68], 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