Function at 0x1400184b0
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 0x14001850f
cmp byte [rcx + 1], 0
je 0x14001850f
mov byte [rax], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14001850f
mov rcx, rdi
call fcn.140030010
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018506
dec dword [rax + 0x3bc]
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 0x140018b7d
cmp byte [rbx + 0x3031], r15b
je 0x140018597
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140018597
mov rsi, qword [0x1400a73a0]
mov qword [0x1400a73a0], rbx
mov dword [rbx + 0x3034], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140023f30
mov rbp, rax
lea rdx, [0x1400429bc]
mov rcx, rdi
call fcn.1400147b0
mov rdi, rax
test rax, rax
je 0x140018590
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 [0x1400a73a0], rsi
mov ebp, r15d
cmp dword [rbx + 0x1a38], r15d
jle 0x1400186c6
mov r14, r15
nop word [rax + rax]
mov rax, qword [rbx + 0x1a40]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x1400186b4
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400185e4
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400185de
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, r15d
cmp dword [rdi + 0x2b8], r15d
je 0x140018610
movsxd rax, esi
imul rcx, rax, 0x88
add rcx, qword [rdi + 0x2c0]
call fcn.140015de0
inc esi
cmp esi, dword [rdi + 0x2b8]
jne 0x1400185f0
lea rcx, [rdi + 0x2d8]
call fcn.140012ff0
nop
mov rcx, qword [rdi + 0x2c0]
test rcx, rcx
je 0x140018642
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001863b
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rdi + 0x2b0]
test rcx, rcx
je 0x140018667
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018660
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rdi + 0xd8]
call fcn.140015d10
nop
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
je 0x140018699
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018692
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400186ab
dec dword [rax + 0x3bc]
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 + 0x1a38]
jl 0x1400185b0
mov rcx, qword [rbx + 0x1a40]
test rcx, rcx
je 0x1400186f8
mov qword [rbx + 0x1a38], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400186eb
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a40], r15
mov rcx, qword [rbx + 0x1a50]
test rcx, rcx
je 0x14001872a
mov qword [rbx + 0x1a48], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001871d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a50], r15
mov rcx, qword [rbx + 0x1a60]
test rcx, rcx
je 0x14001875c
mov qword [rbx + 0x1a58], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001874f
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a60], r15
mov qword [rbx + 0x1a90], r15
mov rcx, qword [rbx + 0x1a70]
test rcx, rcx
je 0x140018795
mov qword [rbx + 0x1a68], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018788
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a70], r15
mov rcx, qword [rbx + 0x1a80]
test rcx, rcx
je 0x1400187c7
mov qword [rbx + 0x1a78], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400187ba
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1a80], r15
mov qword [rbx + 0x1c10], r15
mov qword [rbx + 0x1aa8], r15
mov qword [rbx + 0x1aa0], r15
mov qword [rbx + 0x1a98], r15
mov qword [rbx + 0x1b28], r15
mov qword [rbx + 0x1b10], r15
mov qword [rbx + 0x1ab0], r15
mov rcx, qword [rbx + 0x1bc8]
test rcx, rcx
je 0x14001882a
mov qword [rbx + 0x1bc0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001881d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bc8], r15
mov rcx, qword [rbx + 0x1bd8]
test rcx, rcx
je 0x14001885c
mov qword [rbx + 0x1bd0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001884f
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bd8], r15
mov rcx, qword [rbx + 0x1be8]
test rcx, rcx
je 0x14001888e
mov qword [rbx + 0x1be0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018881
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1be8], r15
mov rcx, qword [rbx + 0x1bf8]
test rcx, rcx
je 0x1400188c0
mov qword [rbx + 0x1bf0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400188b3
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1bf8], r15
mov rcx, qword [rbx + 0x1c08]
test rcx, rcx
je 0x1400188f2
mov qword [rbx + 0x1c00], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400188e5
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1c08], r15
lea rdi, [rbx + 0x1dd0]
mov esi, 2
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x140018927
mov qword [rdi - 8], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001891e
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], r15
add rdi, 0x10
sub rsi, 1
jne 0x140018900
lea rcx, [rbx + 0x1df0]
call fcn.14002cf20
lea rcx, [rbx + 0x1ed0]
call fcn.14002cf20
lea rcx, [rbx + 0x2060]
call fcn.140024a40
mov rcx, qword [rbx + 0x2090]
test rcx, rcx
je 0x140018987
mov qword [rbx + 0x2088], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x14001897a
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2090], r15
mov rcx, qword [rbx + 0x20a0]
test rcx, rcx
je 0x1400189b9
mov qword [rbx + 0x2098], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400189ac
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20a0], r15
mov rcx, qword [rbx + 0x3008]
test rcx, rcx
je 0x1400189eb
mov qword [rbx + 0x3000], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x1400189de
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3008], r15
mov rcx, qword [rbx + 0x3018]
test rcx, rcx
je 0x140018a1d
mov qword [rbx + 0x3010], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018a10
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3018], r15
mov rcx, qword [rbx + 0x20c8]
test rcx, rcx
je 0x140018a4f
mov qword [rbx + 0x20c0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018a42
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20c8], r15
mov rcx, qword [rbx + 0x20d8]
test rcx, rcx
je 0x140018a81
mov qword [rbx + 0x20d0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018a74
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20d8], r15
mov rcx, qword [rbx + 0x20e8]
test rcx, rcx
je 0x140018ab3
mov qword [rbx + 0x20e0], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018aa6
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x20e8], r15
mov rcx, qword [rbx + 0x3060]
test rcx, rcx
je 0x140018ae5
mov qword [rbx + 0x3058], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018ad8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3060], r15
mov rcx, qword [rbx + 0x3050]
test rcx, rcx
je 0x140018b17
mov qword [rbx + 0x3048], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018b0a
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3050], r15
cmp qword [rbx + 0x3070], 0
je 0x140018b48
mov rdi, qword [rbx + 0x3070]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x140018b41
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3070], r15
mov rcx, qword [rbx + 0x3080]
test rcx, rcx
je 0x140018b7a
mov qword [rbx + 0x3078], r15
mov rax, qword [0x1400a73a0]
test rax, rax
je 0x140018b6d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3080], 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