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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00428ba5
add esp, 0xc
test eax, eax
jne 0x45d215
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042909b
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0x2733
je 0x45cf27
cmp dword [ebp - 0xc], 0x2734
je 0x45cf27
mov eax, 0xfffffff1
jmp 0x45d217
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00429077
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042bfc7
add esp, 4
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], 0
mov eax, 1
test eax, eax
je 0x45d208
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x320], 0x40
jae 0x45cfac
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x31c], edx
mov eax, dword [ebp - 0x320]
add eax, 1
mov dword [ebp - 0x320], eax
xor ecx, ecx
test ecx, ecx
jne 0x45cf84
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x21c], 0x40
jae 0x45cfee
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x218], eax
mov ecx, dword [ebp - 0x21c]
add ecx, 1
mov dword [ebp - 0x21c], ecx
xor edx, edx
test edx, edx
jne 0x45cfc6
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
call fcn.0042a0d2
mov dword [ebp - 0x328], eax
cmp dword [ebp - 0x328], 0
jle 0x45d102
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0042a030
test eax, eax
je 0x45d0e2
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x330], 4
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x32c]
push ecx
push 0x1007
push 0xffff
mov edx, dword [ebp - 8]
push edx
call sub.WSOCK32.dll_getsockopt
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x45d09d
mov ecx, 1
test ecx, ecx
je 0x45d09d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x334], eax
jmp 0x45d0a7
mov dword [ebp - 0x334], 0xfffffff1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x334]
mov dword [ecx + 0x80], edx
push 0
push 0xff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x32c]
push ecx
push 0xa
push 0xfffffffffffffff1
mov edx, dword [ebp + 8]
push edx
call fcn.00417d90
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x45d217
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042a030
test eax, eax
je 0x45d0fd
xor eax, eax
jmp 0x45d217
jmp 0x45d203
cmp dword [ebp - 0x328], 0
jne 0x45d199
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x324]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xd4]
mov edx, dword [ecx + 0x1c]
imul edx, edx, 0x3cf
cmp eax, edx
jbe 0x45d197
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x45d154
xor ecx, ecx
test ecx, ecx
je 0x45d154
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x338], eax
jmp 0x45d15e
mov dword [ebp - 0x338], 0xffffffa0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x338]
mov dword [ecx + 0x80], edx
push 0
push 0xff
mov eax, dword [ebp - 4]
push eax
push 0
push 0x1eb
push 0xffffffffffffffa0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417d90
add esp, 0x1c
mov eax, 0xffffffa0
jmp 0x45d217
jmp 0x45d203
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0
je 0x45d1bf
mov eax, 1
test eax, eax
je 0x45d1bf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 0x33c], edx
jmp 0x45d1c9
mov dword [ebp - 0x33c], 0xfffffff1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x33c]
mov dword [eax + 0x80], ecx
push 0
push 0xff
mov edx, dword [ebp - 4]
push edx
call fcn.0042a012
push eax
push 0x2730
push 0xfffffffffffffff1
mov eax, dword [ebp + 8]
push eax
call fcn.00417d90
add esp, 0x1c
mov eax, 0xfffffff1
jmp 0x45d217
jmp 0x45cf6d
cmp dword [ebp - 8], 0xffffffff
jne 0x45d215
mov eax, 0xffffffc7
jmp 0x45d217
xor eax, eax
mov esp, ebp
pop ebp
ret