Function at 0x18007b278
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r15, r9
mov r13, r8
mov rbx, rdx
mov rsi, rcx
lea rax, vtable.ProtocolFilters::AutoLock.0
mov qword [rbp + 0xf], rax
lea r12, [rcx + 0x20]
mov qword [rbp + 0x17], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rax, vtable.ProtocolFilters::IOB.0
mov qword [rbp - 0x69], rax
xor r14d, r14d
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r14
mov dword [rbp - 0x51], 0x6400000
lea edi, [r14 + 1]
mov dword [rbp - 0x4d], edi
mov r8, rbx
lea rdx, [rbp - 0x39]
call fcn.18007ae2c
nop
cmp qword [rbx + 0x10], r14
je 0x18007b510
cmp dword [r13 + 0x10], r14d
je 0x18007b510
cmp dword [r15 + 0x10], r14d
je 0x18007b510
mov rdx, rbx
mov rcx, rsi
call fcn.18007b5a0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, qword [rsi + 0x18]
call fcn.1801c9b24
mov rcx, qword [rsi + 0x18]
call fcn.1801ca07c
mov dword [rbp + 0x67], eax
mov r9b, dil
mov r8d, dword [r13 + 0x10]
mov rdx, qword [r13 + 8]
lea rcx, [rbp - 0x69]
call fcn.18006d160
test al, al
je 0x18007b510
mov r9b, dil
mov r8d, dword [r15 + 0x10]
mov rdx, qword [r15 + 8]
lea rcx, [rbp - 0x69]
call fcn.18006d160
test al, al
je 0x18007b510
mov r14d, dword [rbp - 0x59]
mov eax, r14d
and eax, 0xf
je 0x18007b3af
lea r8d, [rdi + 0xf]
sub r8d, eax
xor eax, eax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov r9b, dil
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.18006d160
xor r14d, r14d
test al, al
je 0x18007b510
mov r14d, dword [rbp - 0x59]
mov r8d, edi
mov edx, r14d
mov rcx, qword [rbp - 0x61]
call fcn.18007c050
mov rcx, qword [rbx + 0x10]
mov word [rbp - 0x47], cx
mov eax, dword [r13 + 0x10]
mov word [rbp - 0x45], ax
mov eax, dword [r15 + 0x10]
mov word [rbp - 0x43], ax
movzx eax, word [rbp - 0x59]
add ax, cx
mov ecx, reloc.WS2_32.dll_recv
add ax, cx
mov word [rbp - 0x49], ax
and qword [rbp - 0x41], 0
mov r9, qword [rsi + 0x18]
mov r8d, ecx
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.1801c9890
mov edx, reloc.WS2_32.dll_recv
cmp rax, rdx
jne 0x18007b50d
mov rbx, qword [rbp - 0x29]
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], rdx
cmovae rcx, qword [rbp - 0x39]
mov r9, qword [rsi + 0x18]
mov r8, rbx
mov rdx, rdi
call fcn.1801c9890
cmp rax, rbx
jne 0x18007b50d
mov ebx, r14d
mov r9, qword [rsi + 0x18]
mov r8d, r14d
mov rdx, rdi
mov rcx, qword [rbp - 0x61]
call fcn.1801c9890
xor r14d, r14d
cmp rax, rbx
jne 0x18007b510
mov eax, dword [rbp + 0x67]
mov dword [rbp - 0x19], eax
mov qword [rbp - 9], r14
mov qword [rbp + 0x6f], r14
mov qword [rbp + 0x67], r14
lea rcx, [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x67]
cqo
idiv qword [rbp + 0x6f]
mov qword [rbp - 0x11], rax
lea ecx, [r14 + 0x40]
call fcn.18009e460
mov qword [rbp + 0x67], rax
lea rcx, vtable.ProtocolFilters::IOB.0
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov edx, 0x6400000
mov dword [rax + 0x18], edx
mov dword [rax + 0x1c], edi
lea rbx, [rax + 0x20]
mov qword [rbx], rcx
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov dword [rbx + 0x18], edx
mov dword [rbx + 0x1c], edi
mov qword [rbp - 1], rax
mov rdx, r13
mov rcx, rax
call fcn.18006d11c
mov rdx, r15
mov rcx, rbx
call fcn.18006d11c
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.1800800b0
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rsi + 0x18]
call fcn.1801d266c
jmp 0x18007b513
xor r14d, r14d
mov dil, r14b
mov rdx, qword [rbp - 0x21]
mov eax, reloc.WS2_32.dll_recv
cmp rdx, rax
jb 0x18007b54e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007b549
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007b59a
call fcn.18009e42c
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], r14b
lea rax, vtable.ProtocolFilters::IOB.0
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x69]
call fcn.18006d240
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, dil
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1801c897c
nop