Function at 0x43d4e0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x1118
call fcn.004583d0
mov eax, dword [0x554efc]
xor eax, esp
mov dword [esp + 0x1114], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1128]
lea ebx, [esp + 0x120]
push edi
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0x30]
cmp edx, dword [esi + 0x2c]
jne 0x43d695
test byte [esi + 0x18], 2
je 0x43d673
mov ebx, dword [esi + 0x24]
test ebx, ebx
jne 0x43d556
push 0xfde8
call dword [0x55438c]
mov ebx, eax
add esp, 4
mov dword [esi + 0x24], ebx
test ebx, ebx
je 0x43d6d8
mov dword [esi + 0x34], 0xfde8
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov ebp, dword [esi + 0x30]
lea eax, [ebx + 0x1000]
cmp ebp, eax
jbe 0x43d586
mov eax, dword [esi + 0x2c]
mov edi, ebp
sub eax, ebp
sub edi, ebx
push eax
push ebp
push ebx
call sub.VCRUNTIME140.dll_memmove
sub dword [esi + 0x30], edi
add esp, 0xc
sub dword [esi + 0x28], edi
mov ebp, dword [esi + 0x30]
sub dword [esi + 0x2c], edi
mov ebx, dword [esi + 0x24]
mov edi, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
lea eax, [edi + 0x1000]
lea ecx, [edx + ebx]
cmp ecx, eax
jae 0x43d5d7
mov eax, dword [esi + 0x28]
sub eax, ebx
mov dword [esp + 0x14], eax
lea eax, [edx + edx]
push eax
push ebx
mov dword [esi + 0x34], eax
call dword [0x554390]
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x43d6f8
mov ecx, eax
sub ebp, ebx
sub ecx, ebx
add edi, ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esi + 0x2c], edi
add ebp, eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x30], ebp
push 0
push 0x1000
push edi
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [esi + 0x38], eax
test eax, eax
jg 0x43d689
je 0x43d66f
cmp eax, 0xffffffff
jne 0x43d61f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x70
jg 0x43d614
je 0x43d61f
cmp eax, 0xb
je 0x43d61f
cmp eax, 0x6c
jmp 0x43d722
sub eax, 0x2733
jne 0x43d71f
mov eax, dword [0x5547a8]
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x28]
mov eax, dword [esi + 0x14]
push 0
mov dword [esp + 0x30], eax
inc eax
push ecx
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jge 0x43d665
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
jne 0x43d66f
test byte [esi + 0x18], 2
jne 0x43d524
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x124]
cmp ebx, eax
jne 0x43d73d
xor eax, eax
jmp 0x43d751
add dword [esi + 0x2c], eax
cmp eax, 0xffffffff
je 0x43d682
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x30]
mov cl, byte [eax]
lea edx, [eax + 1]
mov byte [ebx], cl
mov dword [esi + 0x30], edx
cmp cl, 0xa
je 0x43d73d
cmp cl, 0xd
lea eax, [ebx + 1]
lea ecx, [esp + 0x124]
cmove eax, ebx
mov ebx, eax
mov dword [esp + 0x10], eax
sub eax, ecx
cmp eax, 0xfff
jl 0x43d511
mov byte [esp + 0x1123], 0
jmp 0x43d740
push str.allocating_input
push 0
push 0
push 2
push 0xa
call fcn.00427d00
add esp, 0x14
mov dword [esi + 0x38], 0xffffffff
xor eax, eax
jmp 0x43d751
push str.allocating_input_buffer
push 0
push 0
push 2
push 0xa
call fcn.00427d00
push ebx
call dword [0x554394]
add esp, 0x18
mov dword [esi + 0x38], 0xffffffff
xor eax, eax
jmp 0x43d751
sub eax, 0x17
je 0x43d66f
push str.recv_failed_n
push 0
push 0xa
call fcn.004224c0
add esp, 0xc
xor eax, eax
jmp 0x43d751
mov byte [ebx], 0
lea eax, [esp + 0x124]
push eax
call dword [0x554398]
add esp, 4
mov ecx, dword [esp + 0x1124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457db8
add esp, 0x1118
ret