Function at 0x427e90
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44725e
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x457118]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457118]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x434], 0
mov eax, dword [0x458a2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x458a2c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x434], 1
mov ebp, dword [esp + 0x43c]
lea eax, [esp + 0x1c]
push eax
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x34], esp
mov eax, ebp
mov edi, esp
mov dword [esp + 0x34], ebp
call fcn.00415ca0
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test eax, eax
jne 0x427f83
mov byte [esp + 0x434], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x434], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427f7c
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
xor eax, eax
jmp 0x42830b
mov eax, dword [esp + 0x1c]
cmp dword [eax - 4], 1
mov edi, dword [eax - 0xc]
jle 0x427fa1
mov eax, edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004163a0
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 8]
push 0
push edi
push eax
push edx
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x427f2f
call fcn.004267f0
mov ecx, dword [esi + 8]
push 0
push 0x3e8
lea eax, [esp + 0x44]
push eax
push ecx
call sub.WS2_32.dll_recv
test eax, eax
jle 0x428021
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x2c]
xor edi, edi
nop
mov edx, dword [esp + 0x18]
push edx
push edi
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
lea eax, [esp + eax + 0x4c]
push ebx
push eax
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x58]
call fcn.00424520
mov ecx, dword [esi + 8]
add esp, 0x1c
push 0
push 0x3e8
lea eax, [esp + 0x44]
push eax
push ecx
call sub.WS2_32.dll_recv
test eax, eax
jg 0x427fe0
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 4]
test eax, eax
je 0x4282b6
mov edi, dword [ebp + 8]
mov edx, edi
sub edx, eax
je 0x4282b6
cmp eax, edi
jbe 0x428046
call fcn.0042e792
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x428053
call fcn.0042e792
cmp esi, edi
mov dword [esp + 0x28], esi
je 0x42806c
jmp 0x428060
cmp byte [esi], 0x20
je 0x42806c
add esi, 1
cmp esi, edi
jne 0x428060
mov ebx, dword [ebp + 8]
cmp dword [ebp + 4], ebx
mov dword [esp + 0x28], esi
jbe 0x42807d
call fcn.0042e792
cmp esi, ebx
mov edi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], edi
je 0x4280a0
jmp 0x428090
cmp byte [edi], 0xd
je 0x42809c
add edi, 1
cmp edi, ebx
jne 0x428090
mov dword [esp + 0x14], edi
mov edx, dword [0x458a2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x458a2c
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x434], 2
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x4280d4
call fcn.0042e792
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esi + 8]
jb 0x4280e2
call fcn.0042e792
add dword [esp + 0x28], 1
mov ebx, esi
cmp esi, ebx
je 0x4280f2
call fcn.0042e792
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x14]
jae 0x428160
cmp eax, dword [esi + 8]
jb 0x428106
call fcn.0042e792
mov edx, dword [esp + 0x28]
mov al, byte [edx]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x30]
mov ebx, dword [eax - 0xc]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
lea esi, [ebx + 1]
sub edx, esi
or ecx, edx
jge 0x42813a
mov ecx, esi
lea eax, [esp + 0x30]
call fcn.00416350
mov eax, dword [esp + 0x30]
test esi, esi
mov cl, byte [esp + 0x20]
mov byte [ebx + eax], cl
jl 0x428156
cmp esi, dword [eax - 8]
jg 0x428156
mov dword [eax - 0xc], esi
mov byte [esi + eax], 0
jmp 0x4280c7
push 0x80070057
call fcn.00401000
mov edx, dword [esp + 0x30]
push str.200_OK
push edx
call fcn.0042f254
add esp, 8
mov ecx, ebx
mov eax, dword [ecx + 8]
cmp dword [ecx + 4], eax
mov dword [esp + 0x14], eax
jbe 0x428185
call fcn.0042e792
test ebp, ebp
mov dword [esp + 0x28], edi
jne 0x428192
call fcn.0042e792
lea esi, [edi + 3]
cmp esi, dword [ebx + 8]
ja 0x42819f
cmp esi, dword [ebp + 4]
jae 0x4281a4
call fcn.0042e792
mov eax, ebp
cmp eax, eax
je 0x4281af
call fcn.0042e792
cmp esi, dword [esp + 0x14]
je 0x42826d
cmp edi, dword [ebx + 8]
jb 0x4281c3
call fcn.0042e792
cmp byte [edi], 0xd
jne 0x42823f
lea esi, [edi + 1]
cmp esi, dword [ebx + 8]
mov dword [esp + 0x28], edi
ja 0x4281d9
cmp esi, dword [ebp + 4]
jae 0x4281de
call fcn.0042e792
mov eax, ebp
cmp esi, dword [eax + 8]
jb 0x4281ea
call fcn.0042e792
cmp byte [esi], 0xa
jne 0x42823f
lea esi, [edi + 2]
cmp esi, dword [ebx + 8]
mov dword [esp + 0x28], edi
ja 0x428200
cmp esi, dword [ebp + 4]
jae 0x428205
call fcn.0042e792
mov eax, ebp
cmp esi, dword [eax + 8]
jb 0x428211
call fcn.0042e792
cmp byte [esi], 0xd
jne 0x42823f
lea eax, [edi + 3]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x28], edi
ja 0x428227
cmp eax, dword [ebp + 4]
jae 0x42822c
call fcn.0042e792
lea eax, [edi + 3]
cmp eax, dword [ebp + 8]
jb 0x428239
call fcn.0042e792
cmp byte [edi + 3], 0xa
je 0x428251
cmp edi, dword [ebx + 8]
jb 0x428249
call fcn.0042e792
add edi, 1
jmp 0x428172
mov dword [esp + 0x38], edi
mov edi, 4
lea esi, [esp + 0x34]
call fcn.0041f0d0
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x428271
mov dword [esp + 0x38], edi
mov eax, ebx
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x428280
call fcn.0042e792
push edi
push ebp
push esi
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.004268b0
mov byte [esp + 0x434], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x434], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x434], 0xffffffff
mov eax, dword [esp + 0x2c]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428306
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0042e417
add esp, 0x424
ret 4