Function at 0x140045260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140068008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rcx
mov ebp, edx
mov ecx, dword [rcx + 0x34]
cmp edx, ecx
je 0x140045307
mov eax, edx
sub eax, ecx
cmp eax, 0x186a0
jbe 0x140045330
movups xmm0, xmmword [rdi + 0x18]
lea rdx, [rsp + 0x30]
movsd xmm1, qword [rdi + 0x28]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.140007450
mov r9d, dword [rdi + 0x3c]
lea r8, [rsp + 0x80]
lea rdx, str._s___tcb:_ackno_from_past:_old_ackno__0x_08x__this_ackno__0x_08x_n
mov dword [rsp + 0x20], ebp
mov ecx, 4
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x80], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rsp + 0xa0], xmm1
call fcn.14004d730
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14004da00
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub ecx, ebp
cmp ecx, 0x186a0
jae 0x1400453a3
movups xmm0, xmmword [rdi + 0x18]
lea rdx, [rsp + 0x30]
movsd xmm1, qword [rdi + 0x28]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
call fcn.140007450
mov r9d, dword [rdi + 0x34]
lea r8, [rsp + 0x80]
lea rdx, str._s___tcb:_ackno_from_future:_my_seqno__0x_08x__their_ackno__0x_08x_n
mov dword [rsp + 0x20], ebp
xor ecx, ecx
movups xmm2, xmmword [rax]
movups xmmword [rsp + 0x80], xmm2
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rsp + 0xa0], xmm1
call fcn.14004d730
jmp 0x140045307
xor r15d, r15d
nop word [rax + rax]
mov r9, qword [rdi + 0x88]
test r9, r9
je 0x1400453c6
cmp byte [r9 + 0x1c], r15b
jne 0x140045463
mov esi, ebp
sub esi, dword [rdi + 0x34]
nop dword [rax + rax]
mov rbx, qword [rdi + 0x88]
mov r14d, esi
test rbx, rbx
je 0x140045550
cmp r14, qword [rbx + 0x10]
jb 0x1400454b6
cmp byte [rbx + 0x1c], r15b
jne 0x1400453b0
mov rax, qword [rbx + 0x20]
lea r8, str.ACKed__u_bytes_n
mov qword [rdi + 0x88], rax
mov edx, 1
mov eax, dword [rbx + 0x10]
mov rcx, rdi
add dword [rdi + 0x34], eax
sub esi, eax
mov eax, dword [rdi + 0x40]
add eax, dword [rbx + 0x10]
mov dword [rdi + 0x40], eax
mov r9, qword [rbx + 0x10]
call fcn.1400430e0
mov ecx, dword [rbx + 0x18]
sub ecx, 1
je 0x140045434
cmp ecx, 1
jne 0x140045447
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140045447
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 8], r15
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp ebp, dword [rdi + 0x40]
jne 0x1400453d0
mov eax, 1
jmp 0x140045309
mov edx, dword [r9]
lea ecx, [rdx + 1]
cmp ecx, ebp
jne 0x140045491
lea r8, str.ACKed_FIN_n
mov edx, 1
mov rcx, rdi
call fcn.1400430e0
inc dword [rdi + 0x34]
mov eax, 1
inc dword [rdi + 0x40]
jmp 0x140045309
cmp edx, ebp
je 0x140045307
mov r9, qword [r9 + 0x10]
lea r8, str._____BAD_ACK_of_FIN_____n
mov edx, 1
mov rcx, rdi
call fcn.1400430e0
jmp 0x140045307
movzx eax, byte [rbx + 0x1c]
lea rcx, [0x140054fc0]
add eax, esi
lea r8, str.ACKed__u_bytes__s_n
add dword [rdi + 0x34], eax
mov r9d, esi
movzx eax, byte [rbx + 0x1c]
mov edx, 1
add eax, esi
add dword [rdi + 0x40], eax
lea rax, [0x14005457c]
cmp byte [rbx + 0x1c], r15b
cmovne rax, rcx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400430e0
mov eax, dword [rbx + 0x18]
dec eax
cmp eax, 1
jbe 0x140045512
add qword [rbx + 8], r14
mov eax, 1
jmp 0x140045309
mov rdi, qword [rbx + 0x10]
sub rdi, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 8]
mov r8, rdi
add rdx, r14
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
sub qword [rbx + 0x10], r14
mov qword [rbx + 8], rsi
mov dword [rbx + 0x18], 1
mov eax, 1
jmp 0x140045309