Function at 0x14000b220
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 0x14000b2f3
cmp byte [rcx + 1], 0
je 0x14000b2f3
mov byte [rax + 0x18], 0
mov rdi, qword [rcx + 0xa8]
test rdi, rdi
je 0x14000b2f3
mov rcx, rdi
call fcn.140033a30
nop
mov rcx, qword [rdi + 0x70]
test rcx, rcx
je 0x14000b294
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b28d
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 0x14000b2b6
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b2af
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 0x14000b2d8
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b2d1
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b2ea
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 0x14000ba53
cmp byte [rbx + 0x3218], r15b
je 0x14000b376
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14000b376
mov rsi, qword [0x1401ccfc8]
mov qword [0x1401ccfc8], rbx
mov dword [rbx + 0x321c], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.14001aca0
mov rbp, rax
lea rdx, [0x1400fc3a0]
mov rcx, rdi
call fcn.140005390
mov rdi, rax
test rax, rax
je 0x14000b37d
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 0x14000b37d
mov rsi, qword [0x1401ccfc8]
mov qword [0x1401ccfc8], rbx
call fcn.14001d1e0
mov qword [0x1401ccfc8], rsi
mov esi, r15d
cmp dword [rbx + 0x31e0], r15d
jle 0x14000b3e2
mov rbp, r15
nop
mov rax, qword [rbx + 0x31e8]
mov rdi, qword [rax + rbp + 8]
test rdi, rdi
je 0x14000b3d4
mov rcx, rdi
call fcn.14001e900
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b3cb
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 0x14000b3a0
mov edi, r15d
cmp dword [rbx + 0x3260], r15d
jle 0x14000b421
mov rsi, r15
mov rcx, qword [rbx + 0x3268]
cmp dword [rsi + rcx + 4], 6
jne 0x14000b413
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 0x14000b3f1
mov esi, r15d
cmp dword [rbx + 0x1cd8], r15d
jle 0x14000b471
mov r14, r15
mov rax, qword [rbx + 0x1ce0]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x14000b463
mov rcx, rdi
call fcn.140007f50
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b45a
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 0x14000b430
mov rcx, qword [rbx + 0x1ce0]
test rcx, rcx
je 0x14000b4a3
mov qword [rbx + 0x1cd8], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b496
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 0x14000b4d5
mov qword [rbx + 0x1ce8], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b4c8
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 0x14000b507
mov qword [rbx + 0x1cf8], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b4fa
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 0x14000b540
mov qword [rbx + 0x1d08], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b533
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 0x14000b572
mov qword [rbx + 0x1d18], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b565
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 0x14000b5ce
mov qword [rbx + 0x1e90], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b5c1
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 0x14000b600
mov qword [rbx + 0x1ea0], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b5f3
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 0x14000b632
mov qword [rbx + 0x1eb0], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b625
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 0x14000b664
mov qword [rbx + 0x1ef0], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b657
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 0x14000b696
mov qword [rbx + 0x1f00], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b689
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 0x14000b77d
mov r14, r15
nop
mov rax, qword [rbx + 0x1f18]
mov rdi, qword [r14 + rax]
test rdi, rdi
je 0x14000b76b
mov rsi, qword [rdi + 0x98]
test rsi, rsi
je 0x14000b703
mov rcx, rsi
call fcn.140003810
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b6fa
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 0x14000b733
mov rcx, rsi
call fcn.140003810
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b729
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, [0x140025e20]
mov edx, reloc.WS2_32.dll_recv
lea r8d, [rdx - 0xe]
call fcn.1400e73e0
nop
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b762
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 0x14000b6c0
mov rcx, qword [rbx + 0x1f18]
test rcx, rcx
je 0x14000b7af
mov qword [rbx + 0x1f10], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b7a2
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.140026160
mov rcx, qword [rbx + 0x2230]
test rcx, rcx
je 0x14000b7ed
mov qword [rbx + 0x2228], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b7e0
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 0x14000b81f
mov qword [rbx + 0x2238], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b812
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.1400262e0
mov rcx, qword [rbx + 0x21d0]
test rcx, rcx
je 0x14000b85d
mov qword [rbx + 0x21c8], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b850
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 0x14000b88f
mov qword [rbx + 0x21e8], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b882
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 0x14000b8c1
mov qword [rbx + 0x31a0], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b8b4
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 0x14000b8f3
mov qword [rbx + 0x31b0], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b8e6
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 0x14000b925
mov qword [rbx + 0x2260], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b918
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 0x14000b957
mov qword [rbx + 0x2270], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b94a
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 0x14000b989
mov qword [rbx + 0x2280], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b97c
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 0x14000b9bb
mov qword [rbx + 0x3240], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b9ae
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 0x14000b9ed
mov qword [rbx + 0x3230], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000b9e0
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 0x14000ba1e
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 0x14000ba17
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 0x14000ba50
mov qword [rbx + 0x3288], r15
mov rax, qword [0x1401ccfc8]
test rax, rax
je 0x14000ba43
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