Function at 0x100c0a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 0x3f0]
mov dword [esp + 0x10], 0
call fcn.100b7610
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
cmp dword [edi], 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
je 0x100c0c70
lea ecx, [ecx]
cmp dword [esp + 0x10], 0
jne 0x100c0c70
mov ecx, dword [edi + 0x1c]
imul ecx, ecx, 0x3e8
cmp dword [esi + 0x2dc], 0
je 0x100c0ac9
mov ebx, dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c4]
mov edx, ebx
or edx, eax
je 0x100c0b11
mov edx, dword [esi + 0x474]
cmp edx, eax
mov ebp, dword [esi + 0x470]
jl 0x100c0b11
jg 0x100c0aa9
cmp ebp, ebx
jbe 0x100c0b11
mov ecx, dword [edi + 0x154]
push ecx
push edx
push ebp
push eax
mov eax, dword [esi + 0x1c0]
push eax
or ebx, 0xffffffff
call fcn.100ad7b0
mov ecx, eax
add esp, 0x14
jmp 0x100c0b14
mov ebx, dword [esi + 0x1c8]
mov eax, dword [esi + 0x1cc]
mov edx, ebx
or edx, eax
je 0x100c0b11
mov edx, dword [esi + 0x46c]
cmp edx, eax
mov ebp, dword [esi + 0x468]
jl 0x100c0b11
jg 0x100c0af1
cmp ebp, ebx
jbe 0x100c0b11
mov ecx, dword [edi + 0x154]
push ecx
push edx
push ebp
push eax
mov eax, dword [esi + 0x1c8]
push eax
or ebx, 0xffffffff
call fcn.100ad7b0
mov ecx, eax
add esp, 0x14
jmp 0x100c0b14
mov ebx, dword [edi + 0x14]
cmp dword [esi + 0x19c], 0
je 0x100c0b54
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x5c]
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push edx
call fcn.100b7640
mov ecx, dword [esi + 0x19c]
sub ecx, eax
mov eax, dword [edi + 0x1c]
imul eax, eax, 0x3e8
add esp, 0x10
cmp ecx, eax
jle 0x100c0b4e
mov ecx, eax
jmp 0x100c0b54
test ecx, ecx
jge 0x100c0b54
xor ecx, ecx
push ecx
push 0xffffffffffffffff
push ebx
call fcn.100cb290
mov ebx, eax
call fcn.100b7610
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x54]
push eax
mov eax, dword [esi + 0x58]
push ecx
push edx
push eax
mov dword [esi + 0x5c], edx
call fcn.100b7640
mov ebp, dword [esp + 0x3c]
add esp, 0x1c
cmp eax, dword [esi + 0x19c]
jl 0x100c0ba8
push ebp
call fcn.100badb0
add esp, 4
test eax, eax
jne 0x100c0c97
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
cmp ebx, 0xffffffff
jne 0x100c0bd5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ebp
call fcn.100b4e80
push eax
push 0x1018312c
push esi
call fcn.100b09f0
add esp, 0x14
mov dword [edi + 0xc], 5
jmp 0x100c0c59
test ebx, ebx
jne 0x100c0c15
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x5c]
mov ebx, dword [edi + 0x1c]
push eax
imul ebx, ebx, 0x3e8
mov eax, dword [esi + 0x58]
push ecx
push edx
push eax
call fcn.100b7640
add esp, 0x10
cmp eax, ebx
jle 0x100c0c67
push 0
mov eax, ebp
mov dword [edi + 0xc], 7
call fcn.100c02b0
add esp, 4
jmp 0x100c0c59
push ebp
call fcn.100c0840
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100c0c31
call fcn.100b7610
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100c0c43
mov ecx, dword [esi + 0x38]
mov dword [eax], ecx
mov edx, dword [esi + 0x3c]
mov dword [eax + 4], edx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100c0c55
mov ecx, dword [esi + 0x40]
mov dword [eax], ecx
mov edx, dword [esi + 0x44]
mov dword [eax + 4], edx
test ebx, ebx
jne 0x100c0cb0
mov ecx, dword [edi + 0xc]
mov eax, edi
call fcn.100c07c0
mov dword [esp + 0x10], eax
cmp dword [edi], 3
jne 0x100c0a60
mov eax, dword [esp + 0x20]
push 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call fcn.100ae720
mov eax, dword [esp + 0x30]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, 5
mov eax, edi
call fcn.100c07c0
pop edi
pop esi
pop ebp
mov eax, 0x2a
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret