Function at 0x140009c00
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 0x140009cd3
cmp byte [rcx + 1], 0
je 0x140009cd3
mov byte [rax + 0x18], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x140009cd3
mov rcx, rdi
call fcn.1400323e0
nop
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x140009c74
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009c6d
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140009c96
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009c8f
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x140009cb8
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009cb1
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009cca
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 0x14000a433
cmp byte [rbx + 0x3208], r15b
je 0x140009d56
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140009d56
mov rsi, qword [0x14014f5a0]
mov qword [0x14014f5a0], rbx
mov dword [rbx + 0x320c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.1400196a0
mov rbp, rax
lea rdx, [0x1400f8320]
mov rcx, rdi
call fcn.140003ce0
mov rdi, rax
test rax, rax
je 0x140009d5d
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 0x140009d5d
mov rsi, qword [0x14014f5a0]
mov qword [0x14014f5a0], rbx
call fcn.14001bbe0
mov qword [0x14014f5a0], rsi
mov esi, r15d
cmp dword [rbx + 0x31d0], r15d
jle 0x140009dc2
mov rbp, r15
nop
mov rax, qword [rbx + 0x31d8]
mov rdi, qword [rax + rbp + 8]
test rdi, rdi
je 0x140009db4
mov rcx, rdi
call fcn.14001d300
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009dab
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 + 0x31d0]
jl 0x140009d80
mov edi, r15d
cmp dword [rbx + 0x3250], r15d
jle 0x140009e01
mov rsi, r15
mov rcx, qword [rbx + 0x3258]
cmp dword [rsi + rcx + 4], 6
jne 0x140009df3
mov rax, qword [rsi + rcx + 0x10]
movsxd rdx, edi
shl rdx, 5
add rdx, rcx
mov rcx, rbx
call rax
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3250]
jl 0x140009dd1
mov esi, r15d
cmp dword [rbx + 0x1cc8], r15d
jle 0x140009e51
mov r14, r15
mov rax, qword [rbx + 0x1cd0]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x140009e43
mov rcx, rdi
call fcn.140006930
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009e3a
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add r14, 8
cmp esi, dword [rbx + 0x1cc8]
jl 0x140009e10
mov rcx, qword [rbx + 0x1cd0]
test rcx, rcx
je 0x140009e83
mov qword [rbx + 0x1cc8], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009e76
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1cd0], r15
mov rcx, qword [rbx + 0x1ce0]
test rcx, rcx
je 0x140009eb5
mov qword [rbx + 0x1cd8], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009ea8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ce0], r15
mov rcx, qword [rbx + 0x1cf0]
test rcx, rcx
je 0x140009ee7
mov qword [rbx + 0x1ce8], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009eda
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1cf0], r15
mov qword [rbx + 0x1d28], r15
mov rcx, qword [rbx + 0x1d00]
test rcx, rcx
je 0x140009f20
mov qword [rbx + 0x1cf8], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009f13
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 0x140009f52
mov qword [rbx + 0x1d08], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009f45
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d10], r15
mov qword [rbx + 0x1f60], r15
mov qword [rbx + 0x1d38], r15
mov qword [rbx + 0x1d30], r15
mov qword [rbx + 0x1dc0], r15
mov qword [rbx + 0x1da8], r15
mov qword [rbx + 0x1d48], r15
mov rcx, qword [rbx + 0x1e88]
test rcx, rcx
je 0x140009fae
mov qword [rbx + 0x1e80], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009fa1
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e88], r15
mov rcx, qword [rbx + 0x1e98]
test rcx, rcx
je 0x140009fe0
mov qword [rbx + 0x1e90], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x140009fd3
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e98], r15
mov rcx, qword [rbx + 0x1ea8]
test rcx, rcx
je 0x14000a012
mov qword [rbx + 0x1ea0], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a005
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ea8], r15
mov rcx, qword [rbx + 0x1ee8]
test rcx, rcx
je 0x14000a044
mov qword [rbx + 0x1ee0], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a037
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ee8], r15
mov rcx, qword [rbx + 0x1ef8]
test rcx, rcx
je 0x14000a076
mov qword [rbx + 0x1ef0], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a069
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ef8], r15
mov qword [rbx + 0x1f28], r15
mov qword [rbx + 0x1f20], r15
mov qword [rbx + 0x1f18], r15
mov ebp, r15d
cmp dword [rbx + 0x1f00], r15d
jle 0x14000a15d
mov r14, r15
nop
mov rax, qword [rbx + 0x1f08]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x14000a14b
mov rsi, qword [rdi + 0x98]
test rsi, rsi
je 0x14000a0e3
mov rcx, rsi
call fcn.140002160
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a0da
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rdi + 0xa0]
test rsi, rsi
je 0x14000a113
mov rcx, rsi
call fcn.140002160
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a109
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rdi + 0xe0]
lea r9, [0x1400247d0]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
call fcn.1400e2bf0
nop
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a142
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 + 0x1f00]
jl 0x14000a0a0
mov rcx, qword [rbx + 0x1f08]
test rcx, rcx
je 0x14000a18f
mov qword [rbx + 0x1f00], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a182
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f08], r15
lea rcx, [rbx + 0x21f0]
call fcn.140024b10
mov rcx, qword [rbx + 0x2220]
test rcx, rcx
je 0x14000a1cd
mov qword [rbx + 0x2218], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a1c0
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2220], r15
mov rcx, qword [rbx + 0x2230]
test rcx, rcx
je 0x14000a1ff
mov qword [rbx + 0x2228], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a1f2
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2230], r15
lea rcx, [rbx + 0x2190]
call fcn.140024c90
mov rcx, qword [rbx + 0x21c0]
test rcx, rcx
je 0x14000a23d
mov qword [rbx + 0x21b8], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a230
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21c0], r15
mov rcx, qword [rbx + 0x21e0]
test rcx, rcx
je 0x14000a26f
mov qword [rbx + 0x21d8], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a262
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21e0], r15
mov rcx, qword [rbx + 0x3198]
test rcx, rcx
je 0x14000a2a1
mov qword [rbx + 0x3190], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a294
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3198], r15
mov rcx, qword [rbx + 0x31a8]
test rcx, rcx
je 0x14000a2d3
mov qword [rbx + 0x31a0], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a2c6
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31a8], r15
mov rcx, qword [rbx + 0x2258]
test rcx, rcx
je 0x14000a305
mov qword [rbx + 0x2250], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a2f8
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2258], r15
mov rcx, qword [rbx + 0x2268]
test rcx, rcx
je 0x14000a337
mov qword [rbx + 0x2260], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a32a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2268], r15
mov rcx, qword [rbx + 0x2278]
test rcx, rcx
je 0x14000a369
mov qword [rbx + 0x2270], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a35c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2278], r15
mov rcx, qword [rbx + 0x3238]
test rcx, rcx
je 0x14000a39b
mov qword [rbx + 0x3230], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a38e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3238], r15
mov rcx, qword [rbx + 0x3228]
test rcx, rcx
je 0x14000a3cd
mov qword [rbx + 0x3220], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a3c0
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3228], r15
cmp qword [rbx + 0x3270], 0
je 0x14000a3fe
mov rdi, qword [rbx + 0x3270]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14000a3f7
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3270], r15
mov rcx, qword [rbx + 0x3280]
test rcx, rcx
je 0x14000a430
mov qword [rbx + 0x3278], r15
mov rax, qword [0x14014f5a0]
test rax, rax
je 0x14000a423
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3280], 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