Function at 0x1400076d0
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 rbx, rcx
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x14000772f
cmp byte [rcx + 1], 0
je 0x14000772f
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14000772f
mov rcx, rdi
call fcn.14002cb00
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007726
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 0x140007e74
cmp byte [rbx + 0x2fb8], r15b
je 0x1400077b2
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400077b2
mov rsi, qword [0x1400b29a0]
mov qword [0x1400b29a0], rbx
mov dword [rbx + 0x2fbc], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140015ad0
mov rbp, rax
lea rdx, [0x140043924]
mov rcx, rdi
call fcn.140002960
mov rdi, rax
test rax, rax
je 0x1400077b9
mov r9, rax
mov r8, qword [rsp + 0x40]
lea edx, [r15 + 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]
jmp 0x1400077b9
mov rsi, qword [0x1400b29a0]
mov qword [0x1400b29a0], rbx
call fcn.140017ec0
mov qword [0x1400b29a0], rsi
mov esi, r15d
cmp dword [rbx + 0x2f80], r15d
jle 0x140007822
mov rbp, r15
nop dword [rax + rax]
mov rax, qword [rbx + 0x2f88]
mov rdi, qword [rax + rbp + 8]
test rdi, rdi
je 0x140007814
mov rcx, rdi
call fcn.140019510
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x14000780b
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x2f80]
jl 0x1400077e0
mov edi, r15d
cmp dword [rbx + 0x2ff0], r15d
jle 0x140007862
mov rsi, r15
mov rdx, qword [rbx + 0x2ff8]
cmp dword [rsi + rdx], 6
jne 0x140007854
mov r8, qword [rsi + rdx + 8]
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rdx, [rdx + rcx*8]
mov rcx, rbx
call r8
inc edi
add rsi, 0x18
cmp edi, dword [rbx + 0x2ff0]
jl 0x140007831
mov ebp, r15d
cmp dword [rbx + 0x1b38], r15d
jle 0x140007996
mov r14, r15
nop word [rax + rax]
mov rax, qword [rbx + 0x1b40]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x140007984
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400078b4
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x1400078ae
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, r15d
cmp dword [rdi + 0x2f8], r15d
je 0x1400078e0
movsxd rax, esi
imul rcx, rax, 0x88
add rcx, qword [rdi + 0x300]
call fcn.140004990
inc esi
cmp esi, dword [rdi + 0x2f8]
jne 0x1400078c0
lea rcx, [rdi + 0x320]
call fcn.140001030
nop
mov rcx, qword [rdi + 0x300]
test rcx, rcx
je 0x140007912
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x14000790b
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rdi + 0x2f0]
test rcx, rcx
je 0x140007937
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007930
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rdi + 0x118]
call fcn.1400048c0
nop
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x140007969
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007962
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x14000797b
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1b38]
jl 0x140007880
mov rcx, qword [rbx + 0x1b40]
test rcx, rcx
je 0x1400079c8
mov qword [rbx + 0x1b38], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x1400079bb
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 0x1400079fa
mov qword [rbx + 0x1b48], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x1400079ed
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 0x140007a2c
mov qword [rbx + 0x1b58], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007a1f
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 0x140007a65
mov qword [rbx + 0x1b68], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007a58
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 0x140007a97
mov qword [rbx + 0x1b78], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007a8a
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 0x140007afa
mov qword [rbx + 0x1ce8], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007aed
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 0x140007b2c
mov qword [rbx + 0x1cf8], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007b1f
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 0x140007b5e
mov qword [rbx + 0x1d08], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007b51
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 0x140007b90
mov qword [rbx + 0x1d18], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007b83
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 0x140007bc2
mov qword [rbx + 0x1d28], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007bb5
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d30], r15
mov qword [rbx + 0x1d60], r15
mov qword [rbx + 0x1d58], r15
mov qword [rbx + 0x1d50], r15
mov esi, r15d
cmp dword [rbx + 0x1d38], r15d
jle 0x140007c0e
mov rdi, r15
nop word [rax + rax]
mov rcx, qword [rbx + 0x1d40]
mov rcx, qword [rdi + rcx]
call fcn.140021960
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x1d38]
jl 0x140007bf0
mov rcx, qword [rbx + 0x1d40]
test rcx, rcx
je 0x140007c40
mov qword [rbx + 0x1d38], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007c33
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.140020a40
mov rcx, qword [rbx + 0x1fd0]
test rcx, rcx
je 0x140007c7e
mov qword [rbx + 0x1fc8], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007c71
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 0x140007cb0
mov qword [rbx + 0x1fd8], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007ca3
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 0x140007ce2
mov qword [rbx + 0x2f40], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007cd5
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 0x140007d14
mov qword [rbx + 0x2f50], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007d07
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 0x140007d46
mov qword [rbx + 0x2000], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007d39
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 0x140007d78
mov qword [rbx + 0x2010], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007d6b
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 0x140007daa
mov qword [rbx + 0x2020], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007d9d
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 0x140007ddc
mov qword [rbx + 0x2fe0], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007dcf
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 0x140007e0e
mov qword [rbx + 0x2fd0], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007e01
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], 0
je 0x140007e3f
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 0x140007e38
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 0x140007e71
mov qword [rbx + 0x3010], r15
mov rax, qword [0x1400b29a0]
test rax, rax
je 0x140007e64
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], 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