Function at 0x1000f7a0
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10184158
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x68], edi
lea ecx, [ebp - 0x3d]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], 1
mov dword [esi], edi
mov ebx, eax
mov dword [ebp - 0x5c], ebx
mov edi, edi
xor eax, eax
jne 0x1000f94f
mov edx, dword [ebp + 0x18]
cmp dword [edx], eax
jne 0x1000f94f
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp + 0x10]
jge 0x1000f94f
push 1
mov edi, dword [ebp + 8]
push edi
call fcn.1000f050
add esp, 8
cmp eax, 0xffffffff
jne 0x1000f852
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
jmp 0x1000f94f
test eax, eax
jne 0x1000f87d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [ebp + 0x14]
jbe 0x1000f871
mov edx, dword [ebp - 0x48]
mov dword [edx], 1
jmp 0x1000f94f
mov esi, 5
call fcn.1005a8b0
jmp 0x1000f810
cmp dword [0x101aacf4], 0
jne 0x1000f94f
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x44], eax
push eax
push eax
lea ecx, [ebp - 0x58]
push ecx
push 4
lea edx, [ebp - 0x44]
push edx
push eax
push eax
push 0x4004667f
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov esi, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x50], 0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 1
lea edx, [ebp - 0x70]
push edx
push edi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
xor eax, eax
je 0x1000f8ea
lea esi, [eax + 2]
call fcn.1005a8b0
mov esi, dword [ebp - 0x64]
test edi, edi
jne 0x1000f94a
cmp dword [ebp - 0x60], edi
je 0x1000f94f
mov cl, byte [ebp - 0x3d]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov byte [edx + eax], cl
mov ecx, 1
add eax, ecx
mov dword [ebp - 0x4c], eax
test esi, esi
jne 0x1000f93f
cmp dword [ebp - 0x44], esi
jbe 0x1000f918
add dword [ebp - 0x50], ecx
sub dword [ebp - 0x44], ecx
test esi, esi
jne 0x1000f93f
cmp dword [ebp - 0x44], esi
jbe 0x1000f93f
cmp dword [ebp - 0x50], 0x100
jae 0x1000f93f
cmp eax, dword [ebp + 0x10]
jge 0x1000f93f
cmp dword [0x101aacf4], esi
jne 0x1000f94f
mov edi, dword [ebp + 8]
jmp 0x1000f8b8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x1000f809
mov eax, dword [ebp - 0x48]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
mov byte [ecx + edx], 0
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
jne 0x1000f998
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jne 0x1000f998
cmp dword [0x101aacf4], 0
jne 0x1000f998
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x1000f9a1
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret