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

Disassembly:
push 0xffffffffffffffff
push 0x4a181a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4c84d4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0x64]
mov esi, 1
add dword [ebx + 0xe0], esi
xor edi, edi
cmp ecx, edi
je 0x440e16
cmp dword [ecx + 4], 0xffffffff
je 0x440e16
push edi
call fcn.0046b0de
mov ecx, dword [ebx + 0x64]
cmp ecx, edi
je 0x440e25
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov dword [ebx + 0x64], edi
mov eax, dword [ebx + 0x6c]
cmp eax, edi
je 0x441023
mov ecx, dword [ebx + 0x70]
sub ecx, eax
sar ecx, 2
je 0x441023
mov ecx, eax
cmp ecx, edi
jne 0x440e4b
xor eax, eax
jmp 0x440e53
mov eax, dword [ebx + 0x70]
sub eax, ecx
sar eax, 2
cmp eax, dword [ebx + 0x78]
jbe 0x441023
push 0x70
call fcn.00460029
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x24], edi
je 0x440e7b
push ebx
push eax
call fcn.00440470
jmp 0x440e7d
xor eax, eax
cmp eax, edi
mov dword [esp + 0x24], 0xffffffff
mov dword [ebx + 0x64], eax
je 0x441023
push edi
push 0x3f
push esi
push edi
mov ecx, eax
call fcn.0046b6fd
test eax, eax
jne 0x440ec5
mov ecx, dword [ebx + 0x64]
cmp ecx, edi
je 0x440eaf
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebx + 0x64], edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
cmp dword [ebx + 0x7c], edi
mov ebp, 0x10
je 0x440fa5
cmp dword [ebx + 0xb4], edi
jne 0x440f16
cmp dword [ebx + 0x98], ebp
mov ecx, dword [ebx + 0x9c]
push ecx
jb 0x440ef2
mov eax, dword [ebx + 0x84]
jmp 0x440ef8
lea eax, [ebx + 0x84]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004087a0
mov edx, dword [ebx + 0x7c]
mov esi, dword [ebx + 0x64]
push edx
call fcn.004343d0
jmp 0x440fab
cmp dword [ebx + 0xd4], ebp
jb 0x440f26
mov eax, dword [ebx + 0xc0]
jmp 0x440f2c
lea eax, [ebx + 0xc0]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004087a0
mov dword [esp + 0x28], esi
cmp dword [ebx + 0xb8], ebp
jb 0x440f4d
mov eax, dword [ebx + 0xa4]
jmp 0x440f53
lea eax, [ebx + 0xa4]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004087a0
mov byte [esp + 0x2c], 2
cmp dword [ebx + 0x98], ebp
mov eax, dword [ebx + 0x9c]
push eax
jb 0x440f7c
mov eax, dword [ebx + 0x84]
jmp 0x440f82
lea eax, [ebx + 0x84]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004087a0
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x34], 0xffffffff
mov esi, dword [ebx + 0x64]
push ecx
call fcn.00434460
jmp 0x440fab
mov edx, dword [ebx + 0x64]
mov dword [edx + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x5c], edi
mov edi, dword [ebx + 0x78]
lea esi, [ebx + 0x68]
mov dword [ebx + 0x58], eax
call fcn.004403b0
mov eax, dword [eax]
add eax, 4
cmp dword [eax + 0x18], ebp
jb 0x440fd1
mov eax, dword [eax + 4]
jmp 0x440fd4
add eax, 4
mov ecx, dword [ebx + 0x64]
mov edi, dword [ebx + 0x78]
mov ebp, dword [ecx]
lea esi, [ebx + 0x68]
mov dword [esp + 0x10], eax
call fcn.004403b0
mov edx, dword [eax]
mov eax, dword [edx + 0x3c]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x44]
push eax
push ecx
mov ecx, dword [ebx + 0x64]
call edx
test eax, eax
jne 0x441023
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x441023
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x44101c
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebx + 0x64], 0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret