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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor ebx, ebx
mov eax, dword [edi + 4]
call fcn.004632e0
test al, al
je 0x46489e
mov eax, dword [edi + 8]
call fcn.004632e0
test al, al
je 0x46489e
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 8], eax
mov dword [ebp - 0x118], 2
mov eax, dword [edi + 4]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
call sub.WS2_32.DLL_select
mov esi, eax
mov eax, esi
call fcn.004632e8
test al, al
je 0x464a5b
test esi, esi
jle 0x464a5b
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x118], 1
mov eax, dword [edi + 4]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
call sub.WS2_32.DLL_select
mov esi, eax
mov eax, esi
call fcn.004632e8
test al, al
je 0x4647dd
test esi, esi
jle 0x4647dd
mov dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [edi + 4]
push eax
call sub.WS2_32.DLL_recvfrom
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jle 0x4647dd
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x124]
mov eax, dword [0x45acec]
call fcn.0045b560
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x158]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ax, word [ebp - 0x126]
call fcn.004632cc
mov edx, dword [ebp + 8]
mov word [edx], ax
mov bl, 1
jmp 0x464a5b
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x118], 1
mov eax, dword [edi + 8]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
call sub.WS2_32.DLL_select
mov esi, eax
mov eax, esi
call fcn.004632e8
test al, al
je 0x464a5b
test esi, esi
jle 0x464a5b
mov dword [ebp - 0x14], 0x1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [edi + 8]
push eax
call sub.WS2_32.DLL_recvfrom
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jle 0x464a5b
lea ecx, [ebp - 0x158]
lea edx, [ebp - 0x13c]
mov eax, dword [0x45acec]
call fcn.0045b580
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x158]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ax, word [ebp - 0x142]
call fcn.004632cc
mov edx, dword [ebp + 8]
mov word [edx], ax
mov bl, 1
jmp 0x464a5b
mov eax, dword [edi + 8]
call fcn.004632e0
test al, al
je 0x464985
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 8], eax
mov dword [ebp - 0x118], 1
mov eax, dword [edi + 8]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
call sub.WS2_32.DLL_select
mov esi, eax
mov eax, esi
call fcn.004632e8
test al, al
je 0x464a5b
test esi, esi
jle 0x464a5b
mov dword [ebp - 0x14], 0x1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [edi + 8]
push eax
call sub.WS2_32.DLL_recvfrom
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jle 0x464a5b
lea ecx, [ebp - 0x158]
lea edx, [ebp - 0x13c]
mov eax, dword [0x45acec]
call fcn.0045b580
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x158]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ax, word [ebp - 0x142]
call fcn.004632cc
mov edx, dword [ebp + 8]
mov word [edx], ax
mov bl, 1
jmp 0x464a5b
mov eax, dword [edi + 4]
call fcn.004632e0
test al, al
je 0x464a5b
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0xc], eax
mov eax, esi
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [ebp - 8], eax
mov dword [ebp - 0x118], 1
mov eax, dword [edi + 4]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0
call sub.WS2_32.DLL_select
mov esi, eax
mov eax, esi
call fcn.004632e8
test al, al
je 0x464a5b
test esi, esi
jle 0x464a5b
mov dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [edi + 4]
push eax
call sub.WS2_32.DLL_recvfrom
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jle 0x464a5b
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x124]
mov eax, dword [0x45acec]
call fcn.0045b560
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x158]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ax, word [ebp - 0x126]
call fcn.004632cc
mov edx, dword [ebp + 8]
mov word [edx], ax
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10