Function at 0x180008b30
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 0x180008b8f
cmp byte [rcx + 1], 0
je 0x180008b8f
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x180008b8f
mov rcx, rdi
call fcn.18002efa0
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008b86
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 0x1800092d4
cmp byte [rbx + 0x3048], r15b
je 0x180008c13
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x180008c13
mov rsi, qword [0x18008af10]
mov qword [0x18008af10], rbx
mov dword [rbx + 0x304c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.180017d80
mov rbp, rax
lea rdx, [0x180077c4c]
mov rcx, rdi
call fcn.180003af0
mov rdi, rax
test rax, rax
je 0x180008c1a
mov r9, rax
mov r8, qword [rsp + 0x40]
mov edx, 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 0x180008c1a
mov rsi, qword [0x18008af10]
mov qword [0x18008af10], rbx
call fcn.18001a240
mov qword [0x18008af10], rsi
mov esi, r15d
cmp dword [rbx + 0x3010], r15d
jle 0x180008c82
mov rbp, r15
nop dword [rax]
mov rax, qword [rbx + 0x3018]
mov rdi, qword [rax + rbp + 8]
test rdi, rdi
je 0x180008c74
mov rcx, rdi
call fcn.18001b860
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008c6b
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 + 0x3010]
jl 0x180008c40
mov edi, r15d
cmp dword [rbx + 0x3080], r15d
jle 0x180008cc2
mov rsi, r15
mov rdx, qword [rbx + 0x3088]
cmp dword [rsi + rdx], 6
jne 0x180008cb4
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 + 0x3080]
jl 0x180008c91
mov ebp, r15d
cmp dword [rbx + 0x1bc8], r15d
jle 0x180008df6
mov r14, r15
nop word [rax + rax]
mov rax, qword [rbx + 0x1bd0]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x180008de4
mov rcx, qword [rdi]
test rcx, rcx
je 0x180008d14
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008d0e
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 0x180008d40
movsxd rax, esi
imul rcx, rax, 0x88
add rcx, qword [rdi + 0x300]
call fcn.180005990
inc esi
cmp esi, dword [rdi + 0x2f8]
jne 0x180008d20
lea rcx, [rdi + 0x320]
call fcn.180002220
nop
mov rcx, qword [rdi + 0x300]
test rcx, rcx
je 0x180008d72
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008d6b
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 0x180008d97
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008d90
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.1800058c0
nop
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x180008dc9
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008dc2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008ddb
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 + 0x1bc8]
jl 0x180008ce0
mov rcx, qword [rbx + 0x1bd0]
test rcx, rcx
je 0x180008e28
mov qword [rbx + 0x1bc8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008e1b
dec dword [rax + 0x3b0]
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 0x180008e5a
mov qword [rbx + 0x1bd8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008e4d
dec dword [rax + 0x3b0]
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 0x180008e8c
mov qword [rbx + 0x1be8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008e7f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bf0], r15
mov qword [rbx + 0x1c20], r15
mov rcx, qword [rbx + 0x1c00]
test rcx, rcx
je 0x180008ec5
mov qword [rbx + 0x1bf8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008eb8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c00], r15
mov rcx, qword [rbx + 0x1c10]
test rcx, rcx
je 0x180008ef7
mov qword [rbx + 0x1c08], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008eea
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c10], r15
mov qword [rbx + 0x1e00], r15
mov qword [rbx + 0x1c38], r15
mov qword [rbx + 0x1c30], r15
mov qword [rbx + 0x1c28], r15
mov qword [rbx + 0x1cc0], r15
mov qword [rbx + 0x1ca8], r15
mov qword [rbx + 0x1c48], r15
mov rcx, qword [rbx + 0x1d80]
test rcx, rcx
je 0x180008f5a
mov qword [rbx + 0x1d78], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008f4d
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d80], r15
mov rcx, qword [rbx + 0x1d90]
test rcx, rcx
je 0x180008f8c
mov qword [rbx + 0x1d88], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008f7f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d90], r15
mov rcx, qword [rbx + 0x1da0]
test rcx, rcx
je 0x180008fbe
mov qword [rbx + 0x1d98], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008fb1
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1da0], r15
mov rcx, qword [rbx + 0x1db0]
test rcx, rcx
je 0x180008ff0
mov qword [rbx + 0x1da8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180008fe3
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1db0], r15
mov rcx, qword [rbx + 0x1dc0]
test rcx, rcx
je 0x180009022
mov qword [rbx + 0x1db8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009015
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1dc0], r15
mov qword [rbx + 0x1df0], r15
mov qword [rbx + 0x1de8], r15
mov qword [rbx + 0x1de0], r15
mov esi, r15d
cmp dword [rbx + 0x1dc8], r15d
jle 0x18000906e
mov rdi, r15
nop word [rax + rax]
mov rcx, qword [rbx + 0x1dd0]
mov rcx, qword [rdi + rcx]
call fcn.1800240b0
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rbx + 0x1dc8]
jl 0x180009050
mov rcx, qword [rbx + 0x1dd0]
test rcx, rcx
je 0x1800090a0
mov qword [rbx + 0x1dc8], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009093
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1dd0], r15
lea rcx, [rbx + 0x2030]
call fcn.1800230c0
mov rcx, qword [rbx + 0x2060]
test rcx, rcx
je 0x1800090de
mov qword [rbx + 0x2058], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x1800090d1
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2060], r15
mov rcx, qword [rbx + 0x2070]
test rcx, rcx
je 0x180009110
mov qword [rbx + 0x2068], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009103
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2070], r15
mov rcx, qword [rbx + 0x2fd8]
test rcx, rcx
je 0x180009142
mov qword [rbx + 0x2fd0], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009135
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2fd8], r15
mov rcx, qword [rbx + 0x2fe8]
test rcx, rcx
je 0x180009174
mov qword [rbx + 0x2fe0], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009167
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 + 0x2098]
test rcx, rcx
je 0x1800091a6
mov qword [rbx + 0x2090], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009199
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2098], r15
mov rcx, qword [rbx + 0x20a8]
test rcx, rcx
je 0x1800091d8
mov qword [rbx + 0x20a0], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x1800091cb
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20a8], r15
mov rcx, qword [rbx + 0x20b8]
test rcx, rcx
je 0x18000920a
mov qword [rbx + 0x20b0], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x1800091fd
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20b8], r15
mov rcx, qword [rbx + 0x3078]
test rcx, rcx
je 0x18000923c
mov qword [rbx + 0x3070], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x18000922f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3078], r15
mov rcx, qword [rbx + 0x3068]
test rcx, rcx
je 0x18000926e
mov qword [rbx + 0x3060], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x180009261
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3068], r15
cmp qword [rbx + 0x3098], 0
je 0x18000929f
mov rdi, qword [rbx + 0x3098]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x180009298
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3098], r15
mov rcx, qword [rbx + 0x30a8]
test rcx, rcx
je 0x1800092d1
mov qword [rbx + 0x30a0], r15
mov rax, qword [0x18008af10]
test rax, rax
je 0x1800092c4
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30a8], 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