Function at 0x401e00
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
lea ebx, [edi + 0x24]
push 0x400
mov ecx, ebx
mov dword [ebp - 8], edi
mov dword [ebx + 8], eax
call fcn.004011e0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x402022
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x44aed0]
mulsd xmm0, qword [0x44ae98]
addsd xmm0, qword [0x44aea0]
call fcn.0043bae0
push eax
mov dword [ebp - 4], eax
call fcn.00419e38
push dword [ebp + 0xc]
mov esi, eax
lea edx, [ebp - 4]
push dword [ebp + 8]
mov ecx, esi
call fcn.004139b0
add esp, 0xc
test eax, eax
je 0x401e8e
push esi
call fcn.00419e41
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.004012d0
mov eax, dword [ebp - 4]
test eax, eax
je 0x401efc
xor ecx, ecx
test eax, eax
je 0x401efc
mov edi, eax
mov edx, ecx
mov eax, ecx
and edx, 0x1f
and eax, 3
jne 0x401ebe
mov al, byte [edx + 0x444f48]
xor byte [ecx + esi], al
jmp 0x401ef1
cmp eax, 1
jne 0x401ecd
mov al, byte [edx + 0x444f48]
shr al, 1
jmp 0x401eee
cmp eax, 2
jne 0x401ee0
mov al, byte [edx + 0x444f48]
shl al, 2
sub byte [ecx + esi], al
jmp 0x401ef1
cmp eax, 3
jne 0x401ef1
mov al, byte [edx + 0x444f48]
shl al, 2
add byte [esi + ecx], al
inc ecx
cmp ecx, edi
jb 0x401ea7
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, eax
mov ecx, esi
call fcn.004012d0
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 4]
add eax, 0xc
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x401f19
xor eax, eax
jmp 0x401f1e
mov eax, dword [ebx + 8]
sub eax, ecx
add eax, 4
mov ecx, ebx
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x401f3a
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0x54]
mov dword [ecx], eax
add dword [ebx + 8], 4
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x401f45
xor eax, eax
jmp 0x401f4a
mov eax, dword [ebx + 8]
sub eax, ecx
add eax, 4
mov ecx, ebx
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x401f66
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
add dword [ebx + 8], 4
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x401f71
xor eax, eax
jmp 0x401f76
mov eax, dword [edi + 0x2c]
sub eax, ecx
add eax, 4
lea ecx, [edi + 0x24]
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x401f93
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
add dword [edi + 0x2c], 4
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x401f9e
xor ecx, ecx
jmp 0x401fa3
mov ecx, dword [edi + 0x2c]
sub ecx, eax
mov eax, dword [ebp - 4]
add eax, ecx
lea ecx, [edi + 0x24]
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x401fcb
push dword [ebp - 4]
push esi
push dword [edi + 0x2c]
call fcn.0041c760
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [edi + 0x2c], ecx
push esi
call fcn.00419e41
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x34]
add esp, 4
mov dword [edi + 0x3c], eax
push 0x400
call fcn.004011e0
mov ecx, dword [edi + 0x38]
test ecx, ecx
jne 0x401ff2
xor eax, eax
jmp 0x401ff7
mov eax, dword [edi + 0x3c]
sub eax, ecx
mov ebx, dword [ebp + 0xc]
lea ecx, [edi + 0x34]
add eax, ebx
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x40208e
push ebx
push dword [ebp + 8]
push dword [edi + 0x3c]
call fcn.0041c760
add esp, 0xc
add dword [edi + 0x3c], ebx
jmp 0x40208e
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x40202d
xor eax, eax
jmp 0x402032
mov eax, dword [ebx + 8]
sub eax, ecx
add eax, 4
mov ecx, ebx
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x40204e
mov ecx, dword [ebx + 8]
mov eax, dword [edi + 0x54]
mov dword [ecx], eax
add dword [ebx + 8], 4
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x34]
push 0x400
mov dword [edi + 0x3c], eax
call fcn.004011e0
mov ecx, dword [edi + 0x38]
test ecx, ecx
jne 0x40206c
xor eax, eax
jmp 0x402071
mov eax, dword [edi + 0x3c]
sub eax, ecx
add eax, 4
lea ecx, [edi + 0x34]
push eax
call fcn.004010f0
cmp eax, 0xffffffff
je 0x40208e
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x54]
mov dword [ecx], eax
add dword [edi + 0x3c], 4
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
test eax, eax
jne 0x4020a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ecx + 0x2c]
xor esi, esi
mov edx, dword [sym.imp.WS2_32.dll_send]
sub ebx, eax
mov dword [ebp + 0xc], esi
mov edi, eax
mov dword [ebp + 8], ebx
cmp ebx, 0x11800
jb 0x402116
mov dword [ebp + 8], ebx
xor esi, esi
push 0
push 0x11800
push edi
push dword [ecx + 0x48]
call edx
test eax, eax
jg 0x4020e9
mov ecx, dword [ebp - 8]
inc esi
mov edx, dword [sym.imp.WS2_32.dll_send]
cmp esi, 0xf
jl 0x4020c3
je 0x401e82
mov esi, dword [ebp + 0xc]
add edi, 0x11800
add esi, eax
push 0xa
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
sub ebx, 0x11800
mov edx, dword [sym.imp.WS2_32.dll_send]
cmp ebx, 0x11800
jae 0x4020c1
test ebx, ebx
jle 0x402154
mov dword [ebp + 0xc], 0
push 0
push ebx
push edi
push dword [ecx + 0x48]
call edx
mov dword [ebp - 0xc], eax
test eax, eax
jg 0x40214f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
inc eax
mov edx, dword [sym.imp.WS2_32.dll_send]
mov dword [ebp + 0xc], eax
cmp eax, 0xf
jl 0x402121
je 0x401e82
mov eax, dword [ebp - 0xc]
add esi, eax
mov dword [ebp + 0xc], esi
cmp esi, dword [ebp + 8]
jne 0x401e82
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8