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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441d3b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1068
call fcn.00409840
mov eax, dword [0x45901c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1064], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1078], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1074], eax
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
push 0x1000
lea eax, [ebp - 0x1018]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x1068], 0
call fcn.00420ae0
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x401e86
push 0
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x401fbf
lea eax, [ebp - 0x1018]
push str._r_n_r_n
push eax
call fcn.0041f950
lea esi, [eax + 4]
lea eax, [ebp - 0x1068]
push eax
push 0x451e18
push esi
call fcn.004016e0
add esp, 0x14
push 0xa0d
push esi
call fcn.0041fbc0
push 0xd
lea esi, [eax + 2]
push esi
call fcn.0041fbc0
mov ecx, esi
add esp, 0x10
mov edx, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b93
sub ecx, edi
push ecx
push esi
test edx, edx
je 0x401cbd
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0xf
mov byte [ebp - 0x1048], al
call fcn.004027f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1048]
mov ecx, dword [ebp - 0x1068]
cmp dword [ebp - 0x1038], ecx
mov dword [ebp - 0x1050], 0
cmovb ecx, dword [ebp - 0x1038]
cmp dword [ebp - 0x1034], 0x10
push ecx
cmovae eax, dword [ebp - 0x1048]
lea ecx, [ebp - 0x1060]
push eax
mov dword [ebp - 0x104c], 0xf
mov byte [ebp - 0x1060], 0
call fcn.004027f0
mov edx, dword [ebp - 0x101c]
cmp edx, 0x10
jb 0x401c58
mov ecx, dword [ebp - 0x1030]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401c4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402029
push edx
push ecx
call fcn.00408815
add esp, 8
movups xmm0, xmmword [ebp - 0x1060]
movups xmmword [ebp - 0x1030], xmm0
movq xmm0, qword [ebp - 0x1050]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1034]
movq qword [ebp - 0x1020], xmm0
cmp edx, 0x10
jb 0x401ddc
mov ecx, dword [ebp - 0x1048]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402029
push edx
push ecx
call fcn.00408815
add esp, 8
jmp 0x401ddc
lea ecx, [ebp - 0x1030]
call fcn.004027f0
mov edi, dword [ebp - 0x1020]
mov esi, dword [ebp - 0x1068]
cmp edi, esi
jae 0x401daa
nop dword [eax]
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00420ae0
add esp, 0xc
sub esi, edi
cmp esi, 0xfff
mov eax, 0xfff
cmova esi, eax
lea eax, [ebp - 0x1018]
push 0
push esi
push eax
mov eax, dword [ebp - 0x1064]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
lea esi, [ebp - 0x1018]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x401d27
mov edx, dword [ebp - 0x101c]
sub esi, ecx
mov ecx, dword [ebp - 0x1020]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x401d76
lea eax, [ecx + esi]
cmp edx, 0x10
mov dword [ebp - 0x1020], eax
lea edi, [ebp - 0x1030]
cmovae edi, dword [ebp - 0x1030]
lea eax, [ebp - 0x1018]
add edi, ecx
push eax
push edi
call fcn.004204a0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x401d96
lea eax, [ebp - 0x1018]
mov byte [ebp - 0x1070], 0
push eax
push dword [ebp - 0x1070]
lea ecx, [ebp - 0x1030]
push esi
call fcn.00402a40
mov edi, dword [ebp - 0x1020]
mov esi, dword [ebp - 0x1068]
cmp edi, esi
jb 0x401ce0
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00420ae0
add esp, 0xc
lea eax, [ebp - 0x1018]
push 0
push 0xfff
push eax
mov eax, dword [ebp - 0x1064]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, dword [ebp - 0x101c]
lea ecx, [ebp - 0x1030]
mov esi, dword [ebp - 0x1030]
cmp edi, 0x10
cmovae ecx, esi
cmp dword [ebp - 0x1020], 7
jne 0x401ea0
mov eax, dword [ecx]
mov edx, str.__VER__
mov dword [ebp - 0x106c], 3
cmp eax, dword [edx]
jne 0x401e26
add ecx, 4
mov dword [ebp - 0x106c], 0xffffffff
add edx, 4
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x401e51
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x401e51
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x401e51
cmp dword [ebp - 0x106c], 0xffffffff
je 0x401e4d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x401e51
xor eax, eax
jmp 0x401e56
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401ea0
mov eax, dword [ebp - 0x1064]
cmp byte [eax + 0x1d], 0
je 0x401e99
push 7
mov esi, eax
push str.__VER__
mov ecx, esi
call sym.controllee.exe_public:_int___thiscall_MySocket::Send_char___int_
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401b21
push 7
push str.__VER__
mov ecx, esi
call sym.controllee.exe_public:_int___thiscall_MySocket::Send_char___int_
jmp 0x401b21
xor eax, eax
jmp 0x401fce
lea edx, [ebp - 0x1030]
lea ecx, [ebp - 0x1060]
call fcn.00402e10
mov esi, eax
lea eax, [ebp - 0x1030]
cmp eax, esi
je 0x401f3e
mov edx, dword [ebp - 0x101c]
cmp edx, 0x10
jb 0x401efb
mov ecx, dword [ebp - 0x1030]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401ef1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402024
push edx
push ecx
call fcn.00408815
add esp, 8
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x1030], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1020], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x104c]
cmp edx, 0x10
jb 0x401f78
mov ecx, dword [ebp - 0x1060]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402024
push edx
push ecx
call fcn.00408815
add esp, 8
mov eax, dword [ebp - 0x1074]
mov ecx, dword [ebp - 0x1020]
mov edi, dword [ebp - 0x101c]
cmp edi, 0x10
mov esi, dword [ebp - 0x1030]
mov dword [eax], ecx
lea eax, [ebp - 0x1030]
push ecx
cmovae eax, esi
push eax
push dword [ebp - 0x1078]
call fcn.0041ff20
mov eax, dword [ebp - 0x1064]
add esp, 0xc
mov byte [eax + 0x1c], 0
mov eax, 1
jmp 0x401fce
mov edi, dword [ebp - 0x101c]
or eax, 0xffffffff
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1064], eax
cmp edi, 0x10
jb 0x402004
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x401ff4
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402029
push edi
push esi
call fcn.00408815
mov eax, dword [ebp - 0x1064]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004087d4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00429cc7
call fcn.00429cc7
int3