Function at 0x444410
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, edx
mov ebx, eax
xor edx, edx
mov dword [ebp - 0x10c], ebx
cmp dword [esi + 0x18], 0xffffffff
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x118], edx
jne 0x44446b
pop edi
pop esi
lea eax, [edx + 3]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], edx
jne 0x444492
mov ebx, dword [ebp - 0x120]
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x444480
sub ebx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0x10c]
cmp byte [ebp + 0x10], dl
je 0x4444aa
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4444aa
push dword [esi + 0x24]
push 0
call eax
add esp, 8
xor edx, edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4446cc
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4444c5
cmp byte [eax], 0
jne 0x4446e1
mov eax, ecx
mov ecx, 0x5dc
sub eax, edx
cmp eax, 0x5dc
cmovg eax, ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x11c], eax
jle 0x4445cc
mov ecx, dword [ebp - 0x120]
add ecx, edx
mov dword [ebp - 0x124], ecx
push eax
push ecx
push dword [esi + 0x610]
xor ebx, ebx
call fcn.004463b0
mov edi, eax
add esp, 0xc
test edi, edi
jg 0x44452a
push edi
push dword [esi + 0x610]
call fcn.00445b50
mov ebx, eax
add esp, 8
cmp ebx, 3
jne 0x44452a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp edx, dword [ebp - 0x114]
ja 0x444569
jb 0x444544
mov ecx, dword [ebp - 0x10c]
cmp eax, ecx
jae 0x44456f
xorps xmm0, xmm0
movlpd qword [ebp - 0x110], xmm0
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
jmp 0x44456f
mov ecx, dword [ebp - 0x10c]
sub eax, ecx
sbb edx, dword [ebp - 0x114]
test edx, edx
ja 0x444729
jb 0x44458a
cmp eax, dword [esi + 0x1c]
ja 0x444729
mov eax, dword [esi + 0x28]
test eax, eax
je 0x44459a
cmp byte [eax], 0
jne 0x4446e1
test edi, edi
jg 0x4445b3
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
cmp ebx, 3
je 0x4444f4
mov ebx, dword [ebp - 0x11c]
cmp edi, ebx
jl 0x4446f9
mov edi, dword [ebp - 0x118]
jmp 0x444687
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp edx, edi
ja 0x4445ff
jb 0x4445dc
cmp eax, ebx
jae 0x4445ff
xorps xmm0, xmm0
movlpd qword [ebp - 0x110], xmm0
mov edi, dword [ebp - 0x10c]
mov ebx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x10c], ebx
sub eax, ebx
sbb edx, edi
test edx, edx
ja 0x444729
jb 0x444616
cmp eax, dword [esi + 0x1c]
ja 0x444729
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x12c]
push eax
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x12c], 0
push eax
push 0
push 0
mov dword [ebp - 0x128], 0x2710
mov dword [ebp - 0x108], 1
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x444711
test eax, eax
je 0x4446bb
mov eax, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
add eax, edi
push 0
push ebx
push eax
push dword [esi + 0x18]
call sub.WSOCK32.dll_send
cmp eax, ebx
jl 0x4446f9
add edi, ebx
cmp byte [ebp + 0x10], 0
mov dword [ebp - 0x118], edi
je 0x4446a5
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4446a5
push dword [esi + 0x24]
push edi
call eax
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ebx, eax
mov edi, edx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x114], edi
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x4444b5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 6
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0xc