Function at 0x7ff71efaa7c0
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 rax, qword [0x7ff71f15e010]
mov rdi, rax
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x7ff71efaa8b9
cmp byte [rax + 1], 0
je 0x7ff71efaa8b9
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x7ff71efaa8b9
cmp byte [rbx + 0x18], 0
je 0x7ff71efaa828
mov r8d, 0x7b6
lea rdx, [0x7ff71f04d950]
lea rcx, [0x7ff71f04dc10]
call qword [sym.imp.ucrtbase.dll__wassert]
mov rcx, rbx
call fcn.7ff71efcad90
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x7ff71efaa853
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaa84c
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x7ff71efaa875
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaa86e
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
nop
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x7ff71efaa897
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaa890
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
nop
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaa8a9
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rax, qword [0x7ff71f15e010]
xor r12d, r12d
mov qword [rdi + 0x58], r12
mov rcx, qword [rdi + 0x3c50]
test rcx, rcx
je 0x7ff71efaa8f2
mov qword [rdi + 0x3c48], r12
test rax, rax
je 0x7ff71efaa8de
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3c50], r12
mov rax, qword [0x7ff71f15e010]
cmp byte [rdi], r12b
je 0x7ff71efab0e8
cmp byte [rdi + 0x5b61], r12b
je 0x7ff71efaa95c
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x7ff71efaa95c
mov dword [rax + 0x5b64], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.7ff71efbbf20
mov rsi, rax
lea rdx, [0x7ff71f00f14c]
mov rcx, rbx
call fcn.7ff71efa38d0
mov rbx, rax
test rax, rax
je 0x7ff71efaa95c
mov r9, rax
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov edx, 6
mov rcx, rdi
call fcn.7ff71efa7030
mov esi, r12d
cmp dword [rdi + 0x3e50], r12d
jle 0x7ff71efaa9c1
mov r14, r12
nop dword [rax + rax]
mov rax, qword [rdi + 0x3e58]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x7ff71efaa9b3
mov rcx, rbx
call fcn.7ff71efa6340
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaa9aa
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
inc esi
add r14, 8
cmp esi, dword [rdi + 0x3e50]
jl 0x7ff71efaa980
mov rcx, qword [rdi + 0x3e58]
test rcx, rcx
je 0x7ff71efaa9f3
mov qword [rdi + 0x3e50], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaa9e6
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e58], r12
mov rcx, qword [rdi + 0x3e68]
test rcx, rcx
je 0x7ff71efaaa25
mov qword [rdi + 0x3e60], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaa18
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e68], r12
mov rcx, qword [rdi + 0x3e78]
test rcx, rcx
je 0x7ff71efaaa57
mov qword [rdi + 0x3e70], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaa4a
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e78], r12
mov qword [rdi + 0x3eb0], r12
mov rcx, qword [rdi + 0x3e88]
test rcx, rcx
je 0x7ff71efaaa90
mov qword [rdi + 0x3e80], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaa83
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e88], r12
mov rcx, qword [rdi + 0x3e98]
test rcx, rcx
je 0x7ff71efaaac2
mov qword [rdi + 0x3e90], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaab5
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e98], r12
mov qword [rdi + 0x4878], r12
mov qword [rdi + 0x3ec0], r12
mov qword [rdi + 0x3eb8], r12
mov qword [rdi + 0x3f30], r12
mov qword [rdi + 0x3f18], r12
mov qword [rdi + 0x3ec8], r12
lea rcx, [rdi + 0x45d0]
call fcn.7ff71efa1b60
mov rcx, qword [rdi + 0x47e8]
test rcx, rcx
je 0x7ff71efaab2a
mov qword [rdi + 0x47e0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaab1d
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x47e8], r12
mov rcx, qword [rdi + 0x47f8]
test rcx, rcx
je 0x7ff71efaab5c
mov qword [rdi + 0x47f0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaab4f
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x47f8], r12
mov rcx, qword [rdi + 0x4808]
test rcx, rcx
je 0x7ff71efaab8e
mov qword [rdi + 0x4800], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaab81
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4808], r12
mov rcx, qword [rdi + 0x4848]
test rcx, rcx
je 0x7ff71efaabc0
mov qword [rdi + 0x4840], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaabb3
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4848], r12
mov rcx, qword [rdi + 0x4858]
test rcx, rcx
je 0x7ff71efaabf2
mov qword [rdi + 0x4850], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaabe5
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4858], r12
mov ebp, r12d
cmp dword [rdi + 0x4868], r12d
jle 0x7ff71efaacc4
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x4870]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x7ff71efaacb2
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x7ff71efaac50
mov rcx, rsi
call fcn.7ff71efa1960
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaac47
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x7ff71efaac7d
mov rcx, rsi
call fcn.7ff71efa1960
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaac73
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
nop
lea rcx, [rbx + 0x78]
lea r9, [0x7ff71efbcf70]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.7ff71f004474
nop
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaca9
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4868]
jl 0x7ff71efaac10
mov rcx, qword [rdi + 0x4870]
test rcx, rcx
je 0x7ff71efaacf6
mov qword [rdi + 0x4868], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaace9
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4870], r12
lea rcx, [rdi + 0x4b50]
call fcn.7ff71efbd040
mov rcx, qword [rdi + 0x4b80]
test rcx, rcx
je 0x7ff71efaad34
mov qword [rdi + 0x4b78], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaad27
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4b80], r12
mov rcx, qword [rdi + 0x4b90]
test rcx, rcx
je 0x7ff71efaad66
mov qword [rdi + 0x4b88], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaad59
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4b90], r12
mov ebx, r12d
cmp dword [rdi + 0x4ad0], r12d
jle 0x7ff71efaadb8
mov rsi, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x4ad8]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x7ff71efaadaa
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaada3
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4ad0]
jl 0x7ff71efaad80
mov rcx, qword [rdi + 0x4ad8]
test rcx, rcx
je 0x7ff71efaadea
mov qword [rdi + 0x4ad0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaddd
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4ad8], r12
lea rcx, [rdi + 0x4b00]
call fcn.7ff71efbd220
mov esi, r12d
cmp dword [rdi + 0x4af0], r12d
jle 0x7ff71efaae55
mov rbp, r12
nop word [rax + rax]
mov rbx, qword [rdi + 0x4af8]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.7ff71efc9fb0
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x7ff71efaae47
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaae40
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
nop
inc esi
add rbp, 0x70
cmp esi, dword [rdi + 0x4af0]
jl 0x7ff71efaae10
mov rcx, qword [rdi + 0x4af8]
test rcx, rcx
je 0x7ff71efaae87
mov qword [rdi + 0x4af0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaae7a
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4af8], r12
mov rcx, qword [rdi + 0x4b40]
test rcx, rcx
je 0x7ff71efaaeb9
mov qword [rdi + 0x4b38], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaeac
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4b40], r12
mov rcx, qword [rdi + 0x5b28]
test rcx, rcx
je 0x7ff71efaaeeb
mov qword [rdi + 0x5b20], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaede
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5b28], r12
mov rcx, qword [rdi + 0x5b38]
test rcx, rcx
je 0x7ff71efaaf1d
mov qword [rdi + 0x5b30], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaf10
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5b38], r12
mov rcx, qword [rdi + 0x4bc8]
test rcx, rcx
je 0x7ff71efaaf4f
mov qword [rdi + 0x4bc0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaf42
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4bc8], r12
mov rcx, qword [rdi + 0x4bd8]
test rcx, rcx
je 0x7ff71efaaf81
mov qword [rdi + 0x4bd0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaaf74
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4bd8], r12
mov rcx, qword [rdi + 0x4be8]
test rcx, rcx
je 0x7ff71efaafb3
mov qword [rdi + 0x4be0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaafa6
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4be8], r12
mov rcx, qword [rdi + 0x5b90]
test rcx, rcx
je 0x7ff71efaafe5
mov qword [rdi + 0x5b88], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efaafd8
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5b90], r12
mov rcx, qword [rdi + 0x5b80]
test rcx, rcx
je 0x7ff71efab017
mov qword [rdi + 0x5b78], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efab00a
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5b80], r12
cmp qword [rdi + 0x5bc8], 0
je 0x7ff71efab048
mov rbx, qword [rdi + 0x5bc8]
mov ecx, 1
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
cmp rbx, rax
je 0x7ff71efab041
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov qword [rdi + 0x5bc8], r12
mov rcx, qword [rdi + 0x5bd8]
test rcx, rcx
je 0x7ff71efab07a
mov qword [rdi + 0x5bd0], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efab06d
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5bd8], r12
mov rcx, qword [rdi + 0x5c10]
test rcx, rcx
je 0x7ff71efab0ac
mov qword [rdi + 0x5c08], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efab09f
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5c10], r12
mov rcx, qword [rdi + 0x5c20]
test rcx, rcx
je 0x7ff71efab0de
mov qword [rdi + 0x5c18], r12
mov rax, qword [0x7ff71f15e010]
test rax, rax
je 0x7ff71efab0d1
dec dword [rax + 0xf4]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5c20], r12
mov dword [rdi + 0x5c28], 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