Function at 0x7ff738206ab0
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 [0x7ff7392b7b20]
mov rdi, rax
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x7ff738206b16
cmp byte [rax + 1], 0
je 0x7ff738206b16
mov byte [rcx + 0x18], 0
mov rbx, qword [rax + 0x38]
test rbx, rbx
je 0x7ff738206b16
mov rcx, rbx
call fcn.7ff73822ccd0
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206b06
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
mov rax, qword [0x7ff7392b7b20]
xor r12d, r12d
mov qword [rdi + 0x38], r12
mov rcx, qword [rdi + 0x3c50]
test rcx, rcx
je 0x7ff738206b4f
mov qword [rdi + 0x3c48], r12
test rax, rax
je 0x7ff738206b3b
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3c50], r12
mov rax, qword [0x7ff7392b7b20]
cmp byte [rdi], r12b
je 0x7ff7382073b1
cmp byte [rdi + 0x5bf9], r12b
je 0x7ff738206bb9
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x7ff738206bb9
mov dword [rax + reloc.ucrtbase.dll_free], r12d
mov qword [rsp + 0x50], r12
lea rcx, [rsp + 0x50]
call fcn.7ff73821d690
mov rsi, rax
lea rdx, [0x7ff7382c930c]
mov rcx, rbx
call fcn.7ff7382040b0
mov rbx, rax
test rax, rax
je 0x7ff738206bb9
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.7ff7382073d0
mov esi, r12d
cmp dword [rdi + reloc.ucrtbase.dll_free], r12d
jle 0x7ff738206c21
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x3e80]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x7ff738206c13
mov rcx, rbx
call fcn.7ff738207a00
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206c0a
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
inc esi
add r14, 8
cmp esi, dword [rdi + reloc.ucrtbase.dll_free]
jl 0x7ff738206be0
mov rcx, qword [rdi + 0x3e80]
test rcx, rcx
je 0x7ff738206c53
mov qword [rdi + 0x3e78], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206c46
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e80], r12
mov rcx, qword [rdi + 0x3e90]
test rcx, rcx
je 0x7ff738206c85
mov qword [rdi + 0x3e88], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206c78
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3e90], r12
mov rcx, qword [rdi + 0x3ea0]
test rcx, rcx
je 0x7ff738206cb7
mov qword [rdi + 0x3e98], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206caa
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3ea0], r12
mov qword [rdi + 0x3ed8], r12
mov rcx, qword [rdi + 0x3eb0]
test rcx, rcx
je 0x7ff738206cf0
mov qword [rdi + 0x3ea8], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206ce3
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3eb0], r12
mov rcx, qword [rdi + 0x3ec0]
test rcx, rcx
je 0x7ff738206d22
mov qword [rdi + 0x3eb8], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206d15
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x3ec0], r12
mov qword [rdi + 0x48c0], r12
mov qword [rdi + 0x3ee8], r12
mov qword [rdi + 0x3ee0], r12
mov qword [rdi + 0x3f70], r12
mov qword [rdi + 0x3f58], r12
mov qword [rdi + 0x3ef0], r12
lea rcx, [rdi + 0x4610]
call fcn.7ff738202130
mov rcx, qword [rdi + 0x4830]
test rcx, rcx
je 0x7ff738206d8a
mov qword [rdi + 0x4828], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206d7d
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4830], r12
mov rcx, qword [rdi + 0x4840]
test rcx, rcx
je 0x7ff738206dbc
mov qword [rdi + 0x4838], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206daf
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4840], r12
mov rcx, qword [rdi + 0x4850]
test rcx, rcx
je 0x7ff738206dee
mov qword [rdi + 0x4848], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206de1
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4850], r12
mov rcx, qword [rdi + 0x4890]
test rcx, rcx
je 0x7ff738206e20
mov qword [rdi + 0x4888], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206e13
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4890], r12
mov rcx, qword [rdi + 0x48a0]
test rcx, rcx
je 0x7ff738206e52
mov qword [rdi + 0x4898], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206e45
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x48a0], r12
mov ebp, r12d
cmp dword [rdi + reloc.ucrtbase.dll_free], r12d
jle 0x7ff738206f51
mov r14, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x48b8]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x7ff738206f3f
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x7ff738206eb0
mov rcx, rsi
call fcn.7ff738201f30
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206ea7
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x7ff738206edd
mov rcx, rsi
call fcn.7ff738201f30
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206ed3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_free]
nop
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x7ff738206f02
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206efb
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x7ff738206f24
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206f1d
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
nop
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206f36
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rdi + reloc.ucrtbase.dll_free]
jl 0x7ff738206e70
mov rcx, qword [rdi + 0x48b8]
test rcx, rcx
je 0x7ff738206f83
mov qword [rdi + 0x48b0], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206f76
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x48b8], r12
lea rcx, [rdi + 0x4ba8]
call fcn.7ff73821eb30
mov rcx, qword [rdi + 0x4bd8]
test rcx, rcx
je 0x7ff738206fc1
mov qword [rdi + 0x4bd0], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206fb4
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4bd8], r12
mov rcx, qword [rdi + 0x4be8]
test rcx, rcx
je 0x7ff738206ff3
mov qword [rdi + 0x4be0], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738206fe6
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4be8], r12
mov ebx, r12d
cmp dword [rdi + reloc.ucrtbase.dll_free], r12d
jle 0x7ff738207048
mov rsi, r12
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x4b30]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x7ff73820703a
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738207033
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + reloc.ucrtbase.dll_free]
jl 0x7ff738207010
mov rcx, qword [rdi + 0x4b30]
test rcx, rcx
je 0x7ff73820707a
mov qword [rdi + 0x4b28], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff73820706d
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4b30], r12
lea rcx, [rdi + 0x4b58]
call fcn.7ff73821ecf0
mov esi, r12d
cmp dword [rdi + reloc.ucrtbase.dll_free], r12d
jle 0x7ff7382070e5
mov rbp, r12
nop word [rax + rax]
mov rbx, qword [rdi + 0x4b50]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.7ff73822c0a0
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x7ff7382070d7
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff7382070d0
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
nop
inc esi
add rbp, 0x70
cmp esi, dword [rdi + reloc.ucrtbase.dll_free]
jl 0x7ff7382070a0
mov rcx, qword [rdi + 0x4b50]
test rcx, rcx
je 0x7ff738207117
mov qword [rdi + 0x4b48], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff73820710a
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4b50], r12
mov rcx, qword [rdi + 0x4b98]
test rcx, rcx
je 0x7ff738207149
mov qword [rdi + 0x4b90], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff73820713c
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4b98], r12
mov rcx, qword [rdi + 0x5bc0]
test rcx, rcx
je 0x7ff73820717b
mov qword [rdi + 0x5bb8], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff73820716e
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5bc0], r12
mov rcx, qword [rdi + 0x5bd0]
test rcx, rcx
je 0x7ff7382071ad
mov qword [rdi + 0x5bc8], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff7382071a0
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5bd0], r12
mov rcx, qword [rdi + 0x4c38]
test rcx, rcx
je 0x7ff7382071df
mov qword [rdi + 0x4c30], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff7382071d2
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4c38], r12
mov rcx, qword [rdi + 0x4c48]
test rcx, rcx
je 0x7ff738207211
mov qword [rdi + 0x4c40], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738207204
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4c48], r12
mov rcx, qword [rdi + 0x4c58]
test rcx, rcx
je 0x7ff738207243
mov qword [rdi + 0x4c50], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738207236
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x4c58], r12
mov dword [rdi + reloc.ucrtbase.dll_free], r12d
mov rcx, qword [rdi + 0x5ab8]
test rcx, rcx
je 0x7ff73820727c
mov qword [rdi + 0x5ab0], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff73820726f
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5ab8], r12
mov rcx, qword [rdi + 0x5c28]
test rcx, rcx
je 0x7ff7382072ae
mov qword [rdi + 0x5c20], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff7382072a1
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5c28], r12
mov rcx, qword [rdi + 0x5c18]
test rcx, rcx
je 0x7ff7382072e0
mov qword [rdi + 0x5c10], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff7382072d3
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5c18], r12
cmp qword [rdi + 0x5ca0], 0
je 0x7ff738207311
mov rbx, qword [rdi + 0x5ca0]
mov ecx, 1
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
cmp rbx, rax
je 0x7ff73820730a
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov qword [rdi + 0x5ca0], r12
mov rcx, qword [rdi + 0x5cb0]
test rcx, rcx
je 0x7ff738207343
mov qword [rdi + 0x5ca8], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738207336
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5cb0], r12
mov rcx, qword [rdi + 0x5ce8]
test rcx, rcx
je 0x7ff738207375
mov qword [rdi + 0x5ce0], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff738207368
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5ce8], r12
mov rcx, qword [rdi + 0x5cf8]
test rcx, rcx
je 0x7ff7382073a7
mov qword [rdi + 0x5cf0], r12
mov rax, qword [0x7ff7392b7b20]
test rax, rax
je 0x7ff73820739a
dec dword [rax + 0xec]
call qword [sym.imp.ucrtbase.dll_free]
mov qword [rdi + 0x5cf8], r12
mov dword [rdi + reloc.ucrtbase.dll_free], 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