Function at 0x468df0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4dbfb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
lea ebx, [ebp - 0xcc]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4c], ebx
cmp esi, edi
je 0x46916b
cmp dword [esi], 0xbab1e
jne 0x46916b
cmp dword [esi + 0xec], edi
je 0x468e55
lea eax, [edi + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1682
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], edi
jge 0x468e70
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1682
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov dword [ebp - 0x58], eax
cmp eax, edi
je 0x468ec9
lea ebx, [ebx]
lea ecx, [ebp - 0x7c]
call fcn.00467d30
xor ecx, ecx
mov esi, 1
nop
or edx, 0xffffffff
test eax, esi
je 0x468e9c
mov edx, dword [ebp + ecx*4 - 0x7c]
inc edi
mov ebx, esi
rol ebx, 0x10
test eax, ebx
je 0x468eaa
mov edx, dword [ebp + ecx*4 - 0x7c]
inc edi
cmp edx, 0xffffffff
je 0x468eb7
inc ecx
rol esi, 1
cmp ecx, 5
jb 0x468e90
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x468e80
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x48]
push eax
mov eax, esi
call fcn.004685b0
mov eax, dword [ebp - 0x48]
add esp, 4
test eax, eax
jl 0x468ee6
cmp eax, dword [ebp + 0x10]
jge 0x468ee6
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0xc]
lea eax, [edi + ecx]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x68], eax
je 0x468f02
cmp dword [esi + 0xdc], 0xffffffff
je 0x468f02
inc eax
cmp eax, 0xa
jbe 0x468f3c
lea edx, [eax*8]
push edx
call dword [0x4db924]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x4c], ebx
test ebx, ebx
jne 0x468f35
pop edi
pop esi
lea eax, [ebx + 3]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1682
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x54], 1
xor esi, esi
cmp dword [ebp - 0x48], esi
je 0x468fb8
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], eax
test eax, eax
je 0x468fb8
lea ecx, [ebp - 0x7c]
call fcn.00467d30
xor ecx, ecx
mov edi, 1
nop
or edx, 0xffffffff
test eax, edi
je 0x468f7d
mov edx, dword [ebp + ecx*4 - 0x7c]
mov dword [ebx + esi*8], edx
mov edx, 0x300
mov word [ebx + esi*8 + 4], dx
mov edx, dword [ebp + ecx*4 - 0x7c]
inc esi
mov ebx, edi
rol ebx, 0x10
test eax, ebx
mov ebx, dword [ebp - 0x4c]
je 0x468f9f
mov edx, dword [ebp + ecx*4 - 0x7c]
mov dword [ebx + esi*8], edx
mov edx, 0x10
mov word [ebx + esi*8 + 4], dx
mov edx, dword [ebp + ecx*4 - 0x7c]
inc esi
cmp edx, 0xffffffff
je 0x468fac
inc ecx
rol edi, 1
cmp ecx, 5
jb 0x468f60
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x468f50
mov edi, dword [ebp + 0xc]
test edi, edi
jbe 0x46900c
mov ecx, dword [ebp - 0x60]
lea eax, [ebx + esi*8 + 4]
add ecx, 4
mov edx, edi
add esi, edi
lea ecx, [ecx]
mov edi, dword [ecx - 4]
mov dword [eax - 4], edi
xor edi, edi
mov word [eax], di
test byte [ecx], 1
je 0x468fe8
mov edi, 0x300
mov word [eax], di
test byte [ecx], 2
je 0x468ff5
mov edi, 0x400
or word [eax], di
test byte [ecx], 4
je 0x468ffe
or word [eax], 0x10
add eax, 8
add ecx, 8
sub edx, 1
jne 0x468fd0
mov edi, dword [ebp + 0xc]
cmp dword [ebp + 0x18], 0
je 0x46902e
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 0xdc]
cmp eax, 0xffffffff
je 0x46902e
mov edx, 0x300
mov dword [ebx + esi*8], eax
mov word [ebx + esi*8 + 4], dx
inc esi
test esi, esi
je 0x4690ef
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
call fcn.0048acc0
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jle 0x4690ef
mov dword [ebp - 0x5c], eax
test edi, edi
jbe 0x4690a4
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp + 0xc]
add edi, 6
lea edx, [ebx + ecx*8 + 6]
mov dword [ebp - 0x48], eax
lea esp, [esp]
movsx ecx, word [edx]
xor eax, eax
test ecx, 0x300
je 0x469082
mov eax, 1
test cl, 0x10
je 0x46908a
or eax, 4
test ecx, 0x400
je 0x469095
or eax, 2
mov word [edi], ax
add edx, 8
add edi, 8
sub dword [ebp - 0x48], 1
jne 0x469070
cmp dword [ebp + 0x18], 0
je 0x4690ef
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0xdc], 0xffffffff
je 0x4690ef
mov eax, dword [ebp - 0x68]
mov edx, 0x300
test word [ebx + eax*8 + 6], dx
je 0x4690ef
mov edi, dword [sym.imp.WS2_32.dll_recv]
jmp 0x4690d0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xdc]
push 0
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push eax
call edi
test eax, eax
jg 0x4690d0
mov ecx, dword [ebp - 0x4c]
dec ecx
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x54], 0
je 0x4690ff
push ebx
call dword [0x4db928]
add esp, 4
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x46910b
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
cmp dword [ebp + 0x14], 0
je 0x469158
test esi, esi
jne 0x469158
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0xbab1e
mov dword [ebp - 0x54], esi
jne 0x469158
cmp dword [eax + 0xec], esi
jne 0x469158
lea ecx, [ebp - 0x54]
push ecx
call fcn.004685b0
add esp, 4
test eax, eax
jne 0x469158
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x469158
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jg 0x46914d
test eax, eax
jge 0x46914f
mov eax, ecx
push eax
call fcn.0048a9e0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1682
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004a1682
mov esp, ebp
pop ebp
ret