Function at 0x140056490
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r12, rcx
mov qword [rbp - 0x60], 2
xor r15d, r15d
mov byte [rbp + 0x48], 4
mov ebx, 1
lea rdi, [rbp + 0x48]
movsxd rsi, dword [0x1410d2edc]
nop dword [rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x1400564f2
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x1400564d0
mov ebx, 8
lea rdi, [rbp - 0x60]
nop dword [rax + rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140056522
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x140056500
mov ebx, 4
lea rdi, [rbp + 0x50]
nop dword [rax + rax]
mov r9d, 8
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x140056555
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x140056530
cmp dword [rbp + 0x50], 0xffffffff
jne 0x140056567
lea rdx, [0x140d48a58]
jmp 0x14005687c
mov byte [rbp + 0x48], 5
mov ebx, 1
lea rdi, [rbp + 0x48]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140056596
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x140056574
mov ebx, 4
lea rdi, [rbp + 0x50]
nop
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x1400565c2
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x1400565a0
mov dword [rbp + 0x58], r15d
lea rdx, [0x140d48a80]
lea rcx, [rbp + 0x58]
call fcn.140055db0
nop word [rax + rax]
mov ebx, reloc.WS2_32.dll_inet_ntoa
lea rdi, [rbp - 0x58]
nop dword [rax]
mov r9d, 8
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x140056615
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x1400565f0
cmp dword [rbp - 0x58], 0
je 0x140056875
mov eax, dword [rbp - 0x50]
inc eax
movsxd rcx, eax
call qword [sym.imp.mfc140.dll_Ordinal_265]
mov r14, rax
movsxd rax, dword [rbp - 0x50]
mov rbx, rax
mov rdi, r14
test eax, eax
jle 0x140056668
nop
mov r9d, 8
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
js 0x140056665
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x140056640
mov eax, dword [rbp - 0x50]
cdqe
mov byte [rax + r14], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x140056685
mov rdx, r14
lea rcx, [rbp - 0x48]
call fcn.140005370
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.1400561a0
nop
lea rdx, [rbp - 0x28]
mov r15, qword [rbp - 0x28]
mov r13, qword [rbp - 0x10]
cmp r13, 0xf
cmova rdx, r15
mov r8, qword [r12 + 0x10]
mov rcx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400566d2
mov rcx, qword [r12]
cmp r8, qword [rbp - 0x18]
jne 0x1400566e5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400567d4
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_266]
mov byte [rbp + 0x48], 6
mov ebx, 1
lea rdi, [rbp + 0x48]
nop dword [rax + rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140056722
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x140056700
mov ebx, 4
lea rdi, [rbp + 0x50]
nop dword [rax + rax]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140056752
movsxd rcx, eax
add rdi, rcx
sub ebx, eax
test ebx, ebx
jg 0x140056730
cmp r13, 0xf
jbe 0x14005678a
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140056781
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056867
mov rcx, r15
call fcn.140093434
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
mov r15d, 0
jbe 0x1400565e0
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400567ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005686e
call fcn.140093434
jmp 0x1400565e0
mov ebx, dword [rbp - 0x54]
mov dword [rbp + 0x58], 1
lea rdx, [0x140d48a98]
lea rcx, [rbp + 0x58]
call fcn.140055db0
mov rcx, r14
call qword [sym.imp.mfc140.dll_Ordinal_266]
nop
cmp r13, 0xf
jbe 0x14005682c
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140056823
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056867
mov rcx, r15
call fcn.140093434
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140056863
inc rdx
mov rcx, qword [rbp - 0x48]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14005685e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14005686e
call fcn.140093434
mov eax, ebx
jmp 0x140056891
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x140d48ac0]
mov dword [rbp + 0x58], 2
lea rcx, [rbp + 0x58]
call fcn.140055db0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret