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

Disassembly:
push ebp
mov ebp, esp
and dword [esi + 0x1c], 0xfffdffff
mov eax, dword [esi + 0x1c]
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
cmp dword [ebx + 0x10], edi
jge 0x41bc03
mov ecx, 0x80000
test eax, 0x100
jne 0x41bb80
test ecx, eax
jne 0x41bdc1
and eax, 0xfffffeff
dec dword [esi + 0x34]
mov dword [esi + 0x1c], eax
jne 0x41bba5
test al, 1
jne 0x41bba5
test al, 0x40
je 0x41bba5
and eax, 0xffffffbf
mov dword [esi + 0x1c], eax
test al, 0x20
je 0x41bba5
mov eax, dword [esi + 8]
dec dword [eax + 0xc]
test dword [esi + 0x1c], ecx
je 0x41bbae
xor ebx, ebx
jmp 0x41bbb7
mov edi, dword [esi + 0x7c]
mov ebx, dword [esi + 0x80]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
call fcn.004207c6
mov ecx, eax
mov eax, 0x2745
mov dword [ebp + 0xc], ecx
cmp ecx, eax
jne 0x41bbe2
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xd
jmp 0x41bbf0
call fcn.0041fd2f
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
push 0xffffffffffffffff
push esi
mov dword [ecx + 8], eax
call dword [esi + 0x28]
add esp, 0x10
jmp 0x41bdc1
test eax, 0x80000
jne 0x41bc2c
mov ecx, dword [ebx + 0x14]
cmp ecx, edi
jbe 0x41bc36
lea edi, [esi + 0x7c]
push dword [edi + 4]
push dword [edi]
push ecx
push esi
call dword [esi + 0x28]
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp eax, dword [edi]
jb 0x41bda5
mov edi, 0x100
jmp 0x41bce2
test eax, 0x100
je 0x41bc62
and eax, 0xfffffeff
dec dword [esi + 0x34]
mov dword [esi + 0x1c], eax
jne 0x41bc62
test al, 1
jne 0x41bc62
test al, 0x40
je 0x41bc62
and eax, 0xffffffbf
mov dword [esi + 0x1c], eax
test al, 0x20
je 0x41bc62
mov eax, dword [esi + 8]
dec dword [eax + 0xc]
mov eax, dword [ebp + 8]
and dword [esi + 0x1c], 0xffff7fff
mov dword [eax + 4], 1
mov dword [eax + 8], edi
push dword [esi + 0x80]
mov dword [ebp - 0xc], edi
push dword [esi + 0x7c]
mov dword [ebp - 0x10], edi
jmp 0x41bd9c
push 0x10000
push esi
call dword [esi + 0x24]
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x74]
mov dword [ebp - 0xc], edx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
je 0x41bd1f
cmp dword [ebp - 4], 0
jbe 0x41bcec
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 4]
push esi
call dword [esi + 0x28]
mov eax, dword [ebp - 4]
add esp, 0x10
cmp eax, dword [ebp - 0x10]
jb 0x41bda5
test dword [esi + 0x1c], edi
jne 0x41bc8a
jmp 0x41bda5
and dword [esi + 0x1c], 0xffff7eff
dec dword [esi + 0x34]
mov eax, dword [esi + 0x1c]
jne 0x41bd13
test al, 1
jne 0x41bd13
test al, 0x40
je 0x41bd13
and eax, 0xffffffbf
mov dword [esi + 0x1c], eax
test al, 0x20
je 0x41bd13
mov eax, dword [esi + 8]
dec dword [eax + 0xc]
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
mov dword [eax + 4], ebx
jmp 0x41bd96
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov ecx, 0x2733
cmp edi, ecx
jne 0x41bd47
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov dword [eax + 4], 4
mov dword [eax + 8], ecx
push 0
jmp 0x41bd9e
and dword [esi + 0x1c], 0xfffffeff
dec dword [esi + 0x34]
mov eax, dword [esi + 0x1c]
jne 0x41bd6e
test al, 1
jne 0x41bd6e
test al, 0x40
je 0x41bd6e
and eax, 0xffffffbf
mov dword [esi + 0x1c], eax
test al, 0x20
je 0x41bd6e
mov eax, dword [esi + 8]
dec dword [eax + 0xc]
mov eax, 0x2745
cmp edi, eax
jne 0x41bd86
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xd
mov dword [ecx + 8], eax
jmp 0x41bd96
mov ecx, edi
call fcn.0041fd2f
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0xffffffffffffffff
push esi
call dword [esi + 0x28]
add esp, 0x10
mov eax, dword [esi + 0x1c]
test eax, 0x100
je 0x41bdc1
test eax, 0x20000
jne 0x41bdc1
push dword [ebp + 8]
mov eax, esi
call fcn.0041b669
pop ecx
dec dword [esi + 0x30]
test byte [esi + 0x1c], 1
mov eax, dword [esi + 0x30]
je 0x41bddb
test eax, eax
jne 0x41bddb
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0041af78
pop edi
pop ebx
leave
ret