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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1124
call fcn.00465440
push edi
mov dword [ebp - 0x1124], ecx
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1124]
cmp dword [eax + 0x10], 0
je 0x43566d
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x118], 0
jmp 0x4353f6
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp - 0x104]
jae 0x43541a
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp + eax*4 - 0x100]
cmp ecx, dword [ebp + 8]
jne 0x435418
jmp 0x43541a
jmp 0x4353e7
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp - 0x104]
jne 0x435450
cmp dword [ebp - 0x104], 0x40
jae 0x435450
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x100], ecx
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x104], edx
xor eax, eax
test eax, eax
jne 0x4353db
lea ecx, [ebp - 0x10c]
push ecx
push 0
lea edx, [ebp - 0x104]
push edx
push 0
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4354b3
cmp dword [0x4a7d14], 0
jg 0x43548d
jmp 0x4353c1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x110]
mov ecx, dword [0x4a7d14]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jbe 0x4354ae
jmp 0x43566d
jmp 0x4353c1
cmp dword [ebp - 0x114], 0
jge 0x4354c1
jmp 0x43566d
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x435668
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 0x435652
cmp dword [0x4b0064], 0
je 0x43564b
cmp dword [ebp + 0x10], 0
jle 0x43564b
mov cl, byte [0x4b006c]
mov byte [ebp - 0x1120], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x111f]
rep stosd dword es:[edi], eax
mov edx, dword [0x4b005c]
push edx
push str._slog.dat
lea eax, [ebp - 0x1120]
push eax
call fcn.004650e4
add esp, 0xc
xor ecx, ecx
mov cl, byte [0x4b0050]
and ecx, 1
test ecx, ecx
jne 0x435577
mov dl, byte [0x4b0050]
or dl, 1
mov byte [0x4b0050], dl
mov ecx, 0x4b0030
call fcn.0042b580
push 0x435676
call fcn.00466de5
add esp, 4
mov ecx, 0x4b0030
call fcn.0040a260
push 0x4a7d70
lea eax, [ebp - 0x1120]
push eax
call fcn.004669ba
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x4355be
push 0x4a7d74
lea ecx, [ebp - 0x1120]
push ecx
call fcn.004669ba
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x435641
push 2
push 0
mov edx, dword [ebp - 0x11c]
push edx
call fcn.004674f8
add esp, 0xc
mov eax, dword [ebp - 0x11c]
push eax
call fcn.00467375
add esp, 4
cmp eax, 0x40000
jle 0x435619
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.004667d3
add esp, 4
push 0x4a7d78
lea edx, [ebp - 0x1120]
push edx
call fcn.004669ba
add esp, 8
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00466850
add esp, 0x10
mov eax, dword [ebp - 0x11c]
push eax
call fcn.004667d3
add esp, 4
mov ecx, 0x4b0030
call fcn.0042b650
mov eax, 1
jmp 0x43566f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x435664
jmp 0x4353c1
xor eax, eax
jmp 0x43566f
jmp 0x4353c1
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc