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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x28], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x24], esi
push edi
mov edi, edx
mov dword [ebp - 0x1c], eax
mov ebx, 0x4e4b10
call fcn.00413842
lea esi, [eax - 0x3e8]
mov dword [ebp - 0x20], esi
jmp 0x41dfd8
call fcn.00413842
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
jae 0x41dda0
mov esi, ecx
mov dword [ebp - 0x20], esi
jmp 0x41ddcc
lea eax, [esi + 0x3e8]
cmp ecx, eax
jae 0x41ddcc
mov edx, dword [ebp - 0x1c]
cmp edx, 0x400
jge 0x41ddcf
sub esi, ecx
add esi, 0x3e8
mov ecx, esi
call fcn.004104ad
mov ecx, dword [ebp - 0x2c]
add ecx, esi
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp byte [edi + 0x29], 4
je 0x41e102
sub ecx, esi
mov eax, 0x3e8
cmp ecx, eax
jb 0x41de61
add esi, eax
mov eax, dword [0x44ad28]
mov ecx, eax
mov dword [ebp - 0x20], esi
sub ecx, dword [0x44acf4]
mov dword [ebp - 0x34], ecx
test ecx, ecx
jg 0x41de4d
mov ecx, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x78
jae 0x41e009
cmp byte [0x461c5e], 0
jne 0x41e009
test eax, eax
je 0x41dff9
push 0
push 0xff
mov dl, 0x13
mov ecx, edi
call fcn.0041055a
mov ecx, 0x3e8
call fcn.004104ad
xor eax, eax
mov dword [ebp - 0x1c], eax
call fcn.00413842
mov esi, eax
jmp 0x41dd83
add edx, ecx
add eax, 0x400
xor esi, esi
cmp edx, eax
mov dword [ebp - 0x24], esi
cmova edx, eax
mov dword [ebp - 0x1c], edx
push 0
push 0xff
mov dl, 2
mov ecx, edi
call fcn.0041055a
cmp dword [ebp - 0x34], 0x100000
mov dl, byte [0x461c5c]
jle 0x41de87
mov ecx, 0x8000
jmp 0x41de96
test dl, dl
mov ecx, 0x400
mov eax, 0x2000
cmovne ecx, eax
mov esi, 0x4f4b10
lea eax, [ecx + ebx]
sub esi, ebx
cmp eax, 0x4f4b0c
cmovbe esi, ecx
mov dword [ebp - 0x48], esi
test dl, dl
jne 0x41dec6
push 0
push esi
push ebx
push dword [0x461c58]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
jmp 0x41df71
mov eax, dword [edi + 4]
xor ecx, ecx
mov edx, dword [0x461c58]
shld ecx, eax, 0x10
push esi
shl eax, 0x10
or eax, dword [edi + 8]
push ecx
push eax
push dword [edi + 0x38]
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x45f8f4]
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x2c], eax
call fcn.00425f68
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [esi + 0x20]
push eax
push ebx
push dword [0x461c58]
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jle 0x41e0af
lea ecx, [ebp - 0x30]
mov edx, ebx
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.004255ac
mov esi, eax
test esi, esi
jle 0x41e085
mov eax, dword [ebp - 0x3c]
cmp eax, 0xff
je 0x41e019
mov ecx, dword [ebp - 0x30]
xor edx, edx
test eax, eax
je 0x41df53
or edx, eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [edi + 0x38]
jne 0x41e015
cmp ecx, dword [ebp - 0x2c]
jne 0x41e015
cmp edx, dword [ebp - 0x44]
jne 0x41e015
test esi, esi
jle 0x41e085
sub dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x48]
jg 0x41e011
mov edx, esi
mov ecx, 0x461c60
call fcn.0040eb7d
add dword [edi + 8], esi
add ebx, esi
cmp ebx, 0x4f4b10
jne 0x41dfd5
push 0x10000
push ecx
mov ecx, dword [ebp - 0x28]
mov edx, edi
call fcn.0041ce59
test eax, eax
jne 0x41dfe8
inc dword [edi + 4]
and dword [edi + 8], eax
or byte [edi + 0x47], 2
cmp byte [edi + 0x29], 5
je 0x41e077
call fcn.00410ef4
cmp dword [edi + 0x38], eax
jb 0x41e00d
mov ebx, 0x4e4b10
mov esi, dword [ebp - 0x20]
cmp dword [0x44ac4c], 0
je 0x41dd8b
push 3
pop eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a623
mov esp, ebp
pop ebp
ret
call fcn.00416834
neg eax
sbb eax, eax
neg eax
add eax, 0x13
jmp 0x41dfe8
push 0x13
jmp 0x41dfe7
push 0x18
jmp 0x41dfe7
push 0xf
jmp 0x41dfe7
push 8
jmp 0x41dfe7
mov eax, dword [ebp - 0x30]
sub eax, 0
je 0x41e030
sub eax, 1
je 0x41e04f
dec eax
sub eax, 1
je 0x41e04f
push 8
jmp 0x41e051
mov ecx, dword [ebx]
xor eax, eax
or eax, dword [ebx + 4]
cmp dword [edi + 0x24], ecx
ja 0x41e04f
jb 0x41e043
cmp dword [edi + 0x20], eax
jae 0x41e04f
push ecx
push eax
mov ecx, edi
call fcn.00410532
add esp, 8
push 7
mov eax, 0x4e4b10
pop ecx
cmp ebx, eax
jbe 0x41e07e
sub ebx, eax
mov edx, edi
push ebx
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.0041ce59
mov ecx, eax
test ecx, ecx
jne 0x41e07e
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0x14]
jb 0x41e07e
xor eax, eax
jmp 0x41dfe8
mov eax, ecx
jmp 0x41dfe8
jns 0x41e0b6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2736
je 0x41e0af
cmp eax, 0x2745
je 0x41e0af
push str.History_Connection_Failed
push 2
cdq
push 2
push edx
push eax
call fcn.00420600
add esp, 0x14
push 0xe
jmp 0x41dfe7
mov eax, 0x4e4b10
cmp ebx, eax
jbe 0x41e077
sub ebx, eax
cmp dword [edi + 0x30], 0
jne 0x41e0cf
cmp ebx, 0x400
jle 0x41e077
mov ecx, dword [edi + 4]
xor eax, eax
shld eax, ecx, 0x10
shl ecx, 0x10
or ecx, dword [edi + 8]
cmp eax, dword [edi + 0x24]
ja 0x41e0f1
jb 0x41e0ea
cmp ecx, dword [edi + 0x20]
jae 0x41e0f1
push 0x17
jmp 0x41dfe7
push ebx
push ecx
mov ecx, dword [ebp - 0x28]
mov edx, edi
call fcn.0041ce59
jmp 0x41dfe8
and dword [edi + 8], 0
push 0x19
jmp 0x41dfe7