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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x43f600]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
and dword [esi + 0x1c], 0xfffdffff
mov edi, edx
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x98], eax
test ebx, ebx
jge 0x41bf0f
mov eax, ebx
call fcn.0041c424
mov dword [ebp - 0x9c], eax
cmp eax, 0x2738
je 0x41bf0f
cmp eax, 0x2746
je 0x41bf01
cmp eax, 0x2744
je 0x41bf01
mov edx, dword [esi + 0x1c]
test edx, 0x100
je 0x41c07a
mov ecx, eax
call fcn.0041b96d
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 8], eax
mov eax, esi
call fcn.00415da0
test dword [esi + 0x1c], 0x80000
je 0x41bee4
xor ecx, ecx
xor eax, eax
jmp 0x41beea
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
push 0
push 0
push ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
push eax
jmp 0x41c06e
mov eax, dword [esi + 0x1c]
test eax, 0x80000
je 0x41c07a
mov eax, dword [esi + 0x1c]
test eax, 0x80000
jne 0x41bf3a
xor eax, eax
test ebx, ebx
setl al
neg eax
sbb eax, eax
and eax, 2
push eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [edi + 0x14]
jmp 0x41c070
test eax, 0x100
je 0x41c07a
push 0x10000
push esi
call dword [esi + 0xe8]
mov ebx, 0x80
push ebx
mov dword [ebp - 0x94], eax
xor edi, edi
lea eax, [ebp - 0x8c]
push edi
push eax
mov dword [ebp - 0x90], edx
call fcn.00423bc0
add esp, 0x14
push edi
push edi
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x9c]
push eax
push 1
lea eax, [ebp - 0x94]
push eax
push dword [esi + 0x20]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], edi
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
je 0x41bfd5
push edi
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
jmp 0x41c070
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2738
jne 0x41c00a
push 2
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push esi
call dword [esi + 0xe4]
add esp, 0x18
mov ecx, 0x2733
cmp ebx, ecx
jne 0x41c034
mov eax, dword [ebp - 0x98]
push edi
push edi
push dword [ebp - 0x90]
mov dword [eax + 4], 4
push dword [ebp - 0x94]
mov dword [eax + 8], ecx
push edi
jmp 0x41c070
cmp ebx, 0x2746
je 0x41c07a
cmp ebx, 0x2744
je 0x41c07a
mov eax, esi
call fcn.00415da0
mov ecx, ebx
call fcn.0041b96d
mov ecx, dword [ebp - 0x98]
push 0
push 0
push dword [ebp - 0x90]
mov dword [ecx + 4], eax
push dword [ebp - 0x94]
mov dword [ecx + 8], ebx
push 0xffffffffffffffff
push esi
call dword [esi + 0xe4]
add esp, 0x18
mov eax, dword [esi + 0x1c]
test eax, 0x100
je 0x41c097
test eax, 0x20000
jne 0x41c097
push dword [ebp - 0x98]
call fcn.0041bd54
pop ecx
dec dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
test al, 1
je 0x41c0c1
test ecx, ecx
jne 0x41c0c1
test al, 4
jne 0x41c0c1
or eax, 4
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x18], ecx
mov dword [eax + 0x34], esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ef20
leave
ret