Function at 0x1400082e0
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 0x14000833f
cmp byte [rcx + 1], 0
je 0x14000833f
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14000833f
mov rcx, rdi
call fcn.140020da0
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008336
dec dword [rax + 0x3b4]
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 0x140008a22
cmp byte [rbx + 0x3029], r15b
je 0x1400083c7
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400083c7
mov rsi, qword [0x14005fd58]
mov qword [0x14005fd58], rbx
mov dword [rbx + 0x302c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.1400149c0
mov rbp, rax
lea rdx, [0x140053a44]
mov rcx, rdi
call fcn.1400041f0
mov rdi, rax
test rax, rax
je 0x1400083c0
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]
mov qword [0x14005fd58], rsi
mov edi, r15d
cmp dword [rbx + 0x3060], r15d
jle 0x140008411
mov rsi, r15
nop word [rax + rax]
mov rdx, qword [rbx + 0x3068]
cmp dword [rsi + rdx], 6
jne 0x140008403
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 + 0x3060]
jl 0x1400083e0
mov ebp, r15d
cmp dword [rbx + 0x1a30], r15d
jle 0x140008546
mov r14, r15
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x1a38]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x140008534
mov rcx, qword [rdi]
test rcx, rcx
je 0x140008464
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000845e
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, r15d
cmp dword [rdi + 0x2b8], r15d
je 0x140008490
movsxd rax, esi
imul rcx, rax, 0x88
add rcx, qword [rdi + 0x2c0]
call fcn.140005930
inc esi
cmp esi, dword [rdi + 0x2b8]
jne 0x140008470
lea rcx, [rdi + 0x2d8]
call fcn.1400029c0
nop
mov rcx, qword [rdi + 0x2c0]
test rcx, rcx
je 0x1400084c2
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400084bb
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rdi + 0x2b0]
test rcx, rcx
je 0x1400084e7
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400084e0
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rdi + 0xd8]
call fcn.140005860
nop
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x140008519
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008512
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000852b
dec dword [rax + 0x3b4]
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 + 0x1a30]
jl 0x140008430
mov rcx, qword [rbx + 0x1a38]
test rcx, rcx
je 0x140008578
mov qword [rbx + 0x1a30], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000856b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a38], r15
mov rcx, qword [rbx + 0x1a48]
test rcx, rcx
je 0x1400085aa
mov qword [rbx + 0x1a40], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000859d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a48], r15
mov rcx, qword [rbx + 0x1a58]
test rcx, rcx
je 0x1400085dc
mov qword [rbx + 0x1a50], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400085cf
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a58], r15
mov qword [rbx + 0x1a88], r15
mov rcx, qword [rbx + 0x1a68]
test rcx, rcx
je 0x140008615
mov qword [rbx + 0x1a60], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008608
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a68], r15
mov rcx, qword [rbx + 0x1a78]
test rcx, rcx
je 0x140008647
mov qword [rbx + 0x1a70], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000863a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a78], r15
mov qword [rbx + 0x1c08], r15
mov qword [rbx + 0x1aa0], r15
mov qword [rbx + 0x1a98], r15
mov qword [rbx + 0x1a90], r15
mov qword [rbx + 0x1b20], r15
mov qword [rbx + 0x1b08], r15
mov qword [rbx + 0x1aa8], r15
mov rcx, qword [rbx + 0x1bc0]
test rcx, rcx
je 0x1400086aa
mov qword [rbx + 0x1bb8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000869d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bc0], r15
mov rcx, qword [rbx + 0x1bd0]
test rcx, rcx
je 0x1400086dc
mov qword [rbx + 0x1bc8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400086cf
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bd0], r15
mov rcx, qword [rbx + 0x1be0]
test rcx, rcx
je 0x14000870e
mov qword [rbx + 0x1bd8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008701
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1be0], r15
mov rcx, qword [rbx + 0x1bf0]
test rcx, rcx
je 0x140008740
mov qword [rbx + 0x1be8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008733
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bf0], r15
mov rcx, qword [rbx + 0x1c00]
test rcx, rcx
je 0x140008772
mov qword [rbx + 0x1bf8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008765
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c00], r15
mov rcx, qword [rbx + 0x1dc8]
test rcx, rcx
je 0x1400087a4
mov qword [rbx + 0x1dc0], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008797
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1dc8], r15
mov rcx, qword [rbx + 0x1dd8]
test rcx, rcx
je 0x1400087d6
mov qword [rbx + 0x1dd0], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400087c9
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1dd8], r15
lea rcx, [rbx + 0x1de8]
call fcn.14001dca0
lea rcx, [rbx + 0x1ec8]
call fcn.14001dca0
lea rcx, [rbx + 0x2058]
call fcn.1400154d0
mov rcx, qword [rbx + 0x2088]
test rcx, rcx
je 0x14000882c
mov qword [rbx + 0x2080], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000881f
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2088], r15
mov rcx, qword [rbx + 0x2098]
test rcx, rcx
je 0x14000885e
mov qword [rbx + 0x2090], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008851
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2098], r15
mov rcx, qword [rbx + 0x3000]
test rcx, rcx
je 0x140008890
mov qword [rbx + 0x2ff8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008883
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3000], r15
mov rcx, qword [rbx + 0x3010]
test rcx, rcx
je 0x1400088c2
mov qword [rbx + 0x3008], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400088b5
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3010], r15
mov rcx, qword [rbx + 0x20c0]
test rcx, rcx
je 0x1400088f4
mov qword [rbx + 0x20b8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400088e7
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20c0], r15
mov rcx, qword [rbx + 0x20d0]
test rcx, rcx
je 0x140008926
mov qword [rbx + 0x20c8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008919
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20d0], r15
mov rcx, qword [rbx + 0x20e0]
test rcx, rcx
je 0x140008958
mov qword [rbx + 0x20d8], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000894b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20e0], r15
mov rcx, qword [rbx + 0x3058]
test rcx, rcx
je 0x14000898a
mov qword [rbx + 0x3050], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000897d
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3058], r15
mov rcx, qword [rbx + 0x3048]
test rcx, rcx
je 0x1400089bc
mov qword [rbx + 0x3040], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400089af
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3048], r15
cmp qword [rbx + 0x3078], 0
je 0x1400089ed
mov rdi, qword [rbx + 0x3078]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x1400089e6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3078], r15
mov rcx, qword [rbx + 0x3088]
test rcx, rcx
je 0x140008a1f
mov qword [rbx + 0x3080], r15
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140008a12
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3088], 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