Function at 0x438150
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 0x48e9de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x112c
call fcn.0046b3f0
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 0x43844d
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x128], 0
jmp 0x4381ce
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp - 0x114]
jae 0x4381f2
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp + eax*4 - 0x110]
cmp ecx, dword [ebp + 8]
jne 0x4381f0
jmp 0x4381f2
jmp 0x4381bf
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp - 0x114]
jne 0x438228
cmp dword [ebp - 0x114], 0x40
jae 0x438228
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 0x4381b3
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 0x438289
cmp dword [0x4afae8], 0
jg 0x438263
jmp 0x438199
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x120]
mov ecx, dword [0x4afae8]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jle 0x438284
jmp 0x43844d
jmp 0x438199
cmp dword [ebp - 0x124], 0
jge 0x438297
jmp 0x43844d
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x438448
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 0x438432
cmp dword [0x4b2a70], 0
je 0x43842b
cmp dword [ebp + 0x10], 0
jle 0x43842b
mov cl, byte [0x4977f1]
mov byte [ebp - 0x1134], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x1133]
rep stosd dword es:[edi], eax
mov edx, dword [0x4b2a74]
push edx
push str._slog.dat
lea eax, [ebp - 0x1134]
push eax
call fcn.0046b198
add esp, 0xc
mov ecx, dword [0x4b2a9c]
and ecx, 1
jne 0x438357
mov edx, dword [0x4b2a9c]
or edx, 1
mov dword [0x4b2a9c], edx
mov dword [ebp - 4], 0
mov ecx, 0x4b2a7c
call fcn.0042c460
push 0x490880
call fcn.0046d68d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x4b2a7c
call fcn.0040d520
push 0x497800
lea eax, [ebp - 0x1134]
push eax
call fcn.0046d1f4
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x43839e
push 0x497804
lea ecx, [ebp - 0x1134]
push ecx
call fcn.0046d1f4
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x438421
push 2
push 0
mov edx, dword [ebp - 0x12c]
push edx
call fcn.0046dbab
add esp, 0xc
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0046dadb
add esp, 4
cmp eax, 0x40000
jle 0x4383f9
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.0046cff4
add esp, 4
push 0x497808
lea edx, [ebp - 0x1134]
push edx
call fcn.0046d1f4
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.0046d14c
add esp, 0x10
mov eax, dword [ebp - 0x12c]
push eax
call fcn.0046cff4
add esp, 4
mov ecx, 0x4b2a7c
call fcn.0042c5f0
mov eax, 1
jmp 0x43844f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x438444
jmp 0x438199
xor eax, eax
jmp 0x43844f
jmp 0x438199
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0xc