Function at 0x42e880
Capabilities:
Check for time delay via gettickcount
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4733ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x112c
call fcn.00450200
push edi
mov dword [ebp - 0x1138], ecx
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x1138]
cmp dword [eax + 0x10], 0
je 0x42eb7d
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x128], 0
jmp 0x42e8fe
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp - 0x114]
jae 0x42e922
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp + eax*4 - 0x110]
cmp ecx, dword [ebp + 8]
jne 0x42e920
jmp 0x42e922
jmp 0x42e8ef
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp - 0x114]
jne 0x42e958
cmp dword [ebp - 0x114], 0x40
jae 0x42e958
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x110], ecx
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
xor eax, eax
jne 0x42e8e3
lea ecx, [ebp - 0x11c]
push ecx
push 0
lea edx, [ebp - 0x114]
push edx
push 0
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x42e9b9
cmp dword [0x48fa68], 0
jg 0x42e993
jmp 0x42e8c9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x120]
mov ecx, dword [0x48fa68]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jle 0x42e9b4
jmp 0x42eb7d
jmp 0x42e8c9
cmp dword [ebp - 0x124], 0
jge 0x42e9c7
jmp 0x42eb7d
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42eb78
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jl 0x42eb62
cmp dword [0x492ed4], 0
je 0x42eb5b
cmp dword [ebp + 0x10], 0
jle 0x42eb5b
mov cl, byte [0x47a531]
mov byte [ebp - 0x1134], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1133]
rep stosd dword es:[edi], eax
mov edx, dword [0x492ed8]
push edx
push str._slog.dat
lea eax, [ebp - 0x1134]
push eax
call fcn.0044ffa8
add esp, 0xc
mov ecx, dword [0x492f00]
and ecx, 1
jne 0x42ea87
mov edx, dword [0x492f00]
or edx, 1
mov dword [0x492f00], edx
mov dword [ebp - 4], 0
mov ecx, 0x492ee0
call fcn.0042d580
push 0x474860
call fcn.004529c1
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x492ee0
call fcn.0040d570
push 0x47a540
lea eax, [ebp - 0x1134]
push eax
call fcn.00452004
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x42eace
push 0x47a544
lea ecx, [ebp - 0x1134]
push ecx
call fcn.00452004
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x42eb51
push 2
push 0
mov edx, dword [ebp - 0x12c]
push edx
call fcn.004522cf
add esp, 0xc
mov eax, dword [ebp - 0x12c]
push eax
call fcn.004521ff
add esp, 4
cmp eax, 0x40000
jle 0x42eb29
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.00451e04
add esp, 4
push 0x47a548
lea edx, [ebp - 0x1134]
push edx
call fcn.00452004
add esp, 8
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00451f5c
add esp, 0x10
mov eax, dword [ebp - 0x12c]
push eax
call fcn.00451e04
add esp, 4
mov ecx, 0x492ee0
call fcn.0042d710
mov eax, 1
jmp 0x42eb7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x42eb74
jmp 0x42e8c9
xor eax, eax
jmp 0x42eb7f
jmp 0x42e8c9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0xc