Function at 0x14000b110
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 0x14000b1e3
cmp byte [rcx + 1], 0
je 0x14000b1e3
mov byte [rax + 0x18], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14000b1e3
mov rcx, rdi
call fcn.140033920
nop
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x14000b184
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b17d
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 0x14000b1a6
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b19f
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 0x14000b1c8
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b1c1
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b1da
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 0x14000b943
cmp byte [rbx + 0x3218], r15b
je 0x14000b266
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14000b266
mov rsi, qword [0x1401c8f88]
mov qword [0x1401c8f88], rbx
mov dword [rbx + 0x321c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001ab90
mov rbp, rax
lea rdx, [0x1400f9350]
mov rcx, rdi
call fcn.140005280
mov rdi, rax
test rax, rax
je 0x14000b26d
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 0x14000b26d
mov rsi, qword [0x1401c8f88]
mov qword [0x1401c8f88], rbx
call fcn.14001d0d0
mov qword [0x1401c8f88], rsi
mov esi, r15d
cmp dword [rbx + 0x31e0], r15d
jle 0x14000b2d2
mov rbp, r15
nop
mov rax, qword [rbx + 0x31e8]
mov rdi, qword [rax + rbp + 8]
test rdi, rdi
je 0x14000b2c4
mov rcx, rdi
call fcn.14001e7f0
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b2bb
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 + 0x31e0]
jl 0x14000b290
mov edi, r15d
cmp dword [rbx + 0x3260], r15d
jle 0x14000b311
mov rsi, r15
mov rcx, qword [rbx + 0x3268]
cmp dword [rsi + rcx + 4], 6
jne 0x14000b303
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 + 0x3260]
jl 0x14000b2e1
mov esi, r15d
cmp dword [rbx + 0x1cd8], r15d
jle 0x14000b361
mov r14, r15
mov rax, qword [rbx + 0x1ce0]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x14000b353
mov rcx, rdi
call fcn.140007e40
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b34a
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 + 0x1cd8]
jl 0x14000b320
mov rcx, qword [rbx + 0x1ce0]
test rcx, rcx
je 0x14000b393
mov qword [rbx + 0x1cd8], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b386
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 0x14000b3c5
mov qword [rbx + 0x1ce8], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b3b8
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 0x14000b3f7
mov qword [rbx + 0x1cf8], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b3ea
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d00], r15
mov qword [rbx + 0x1d38], r15
mov rcx, qword [rbx + 0x1d10]
test rcx, rcx
je 0x14000b430
mov qword [rbx + 0x1d08], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b423
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 0x14000b462
mov qword [rbx + 0x1d18], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b455
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d20], r15
mov qword [rbx + 0x1f70], r15
mov qword [rbx + 0x1d48], r15
mov qword [rbx + 0x1d40], r15
mov qword [rbx + 0x1dd0], r15
mov qword [rbx + 0x1db8], r15
mov qword [rbx + 0x1d58], r15
mov rcx, qword [rbx + 0x1e98]
test rcx, rcx
je 0x14000b4be
mov qword [rbx + 0x1e90], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b4b1
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 0x14000b4f0
mov qword [rbx + 0x1ea0], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b4e3
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 + 0x1eb8]
test rcx, rcx
je 0x14000b522
mov qword [rbx + 0x1eb0], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b515
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1eb8], r15
mov rcx, qword [rbx + 0x1ef8]
test rcx, rcx
je 0x14000b554
mov qword [rbx + 0x1ef0], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b547
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1ef8], r15
mov rcx, qword [rbx + 0x1f08]
test rcx, rcx
je 0x14000b586
mov qword [rbx + 0x1f00], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b579
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f08], r15
mov qword [rbx + 0x1f38], r15
mov qword [rbx + 0x1f30], r15
mov qword [rbx + 0x1f28], r15
mov ebp, r15d
cmp dword [rbx + 0x1f10], r15d
jle 0x14000b66d
mov r14, r15
nop
mov rax, qword [rbx + 0x1f18]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x14000b65b
mov rsi, qword [rdi + 0x98]
test rsi, rsi
je 0x14000b5f3
mov rcx, rsi
call fcn.140003700
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b5ea
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 0x14000b623
mov rcx, rsi
call fcn.140003700
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b619
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, [0x140025d10]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
call fcn.1400e46e0
nop
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b652
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 + 0x1f10]
jl 0x14000b5b0
mov rcx, qword [rbx + 0x1f18]
test rcx, rcx
je 0x14000b69f
mov qword [rbx + 0x1f10], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b692
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1f18], r15
lea rcx, [rbx + 0x2200]
call fcn.140026050
mov rcx, qword [rbx + 0x2230]
test rcx, rcx
je 0x14000b6dd
mov qword [rbx + 0x2228], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b6d0
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2230], r15
mov rcx, qword [rbx + 0x2240]
test rcx, rcx
je 0x14000b70f
mov qword [rbx + 0x2238], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b702
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2240], r15
lea rcx, [rbx + 0x21a0]
call fcn.1400261d0
mov rcx, qword [rbx + 0x21d0]
test rcx, rcx
je 0x14000b74d
mov qword [rbx + 0x21c8], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b740
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21d0], r15
mov rcx, qword [rbx + 0x21f0]
test rcx, rcx
je 0x14000b77f
mov qword [rbx + 0x21e8], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b772
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x21f0], r15
mov rcx, qword [rbx + 0x31a8]
test rcx, rcx
je 0x14000b7b1
mov qword [rbx + 0x31a0], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b7a4
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 + 0x31b8]
test rcx, rcx
je 0x14000b7e3
mov qword [rbx + 0x31b0], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b7d6
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x31b8], r15
mov rcx, qword [rbx + 0x2268]
test rcx, rcx
je 0x14000b815
mov qword [rbx + 0x2260], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b808
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 0x14000b847
mov qword [rbx + 0x2270], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b83a
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 + 0x2288]
test rcx, rcx
je 0x14000b879
mov qword [rbx + 0x2280], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b86c
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2288], r15
mov rcx, qword [rbx + 0x3248]
test rcx, rcx
je 0x14000b8ab
mov qword [rbx + 0x3240], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b89e
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3248], r15
mov rcx, qword [rbx + 0x3238]
test rcx, rcx
je 0x14000b8dd
mov qword [rbx + 0x3230], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b8d0
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3238], r15
cmp qword [rbx + 0x3280], 0
je 0x14000b90e
mov rdi, qword [rbx + 0x3280]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rdi, rax
je 0x14000b907
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [rbx + 0x3280], r15
mov rcx, qword [rbx + 0x3290]
test rcx, rcx
je 0x14000b940
mov qword [rbx + 0x3288], r15
mov rax, qword [0x1401c8f88]
test rax, rax
je 0x14000b933
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3290], 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