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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [ebp + 0x10]
mov eax, dword [0x547008]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x78]
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x50], xmm0
movdqu xmmword [esi + 0x40], xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
mov ecx, esi
call fcn.004a5f70
mov ecx, esi
shr ecx, 0xe
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0x94], eax
mov eax, esi
shr eax, 0x13
mov dword [ebp - 0x90], eax
mov eax, dword [eax*4 + 0x54ea50]
bt eax, ecx
jae 0x440661
push esi
call fcn.0044f4e0
add esp, 4
mov edx, dword [ebp + 0x14]
mov ecx, edi
shr ecx, 0xe
mov eax, edi
shr eax, 0x13
mov dword [ebp - 0x88], eax
mov eax, dword [eax*4 + 0x54ea50]
mov dword [ebp - 0x8c], ecx
bt eax, ecx
jae 0x44067e
push edi
call fcn.0044f4e0
mov edx, dword [ebp + 0x14]
add esp, 4
mov ecx, edx
shr ecx, 0xe
mov eax, edx
shr eax, 0x13
mov dword [ebp - 0x80], eax
mov eax, dword [eax*4 + 0x54ea50]
mov dword [ebp - 0x84], ecx
bt eax, ecx
mov esi, dword [ebp + 8]
jae 0x440670
push edx
call fcn.0044f4e0
add esp, 4
lea ecx, [ebp - 0x78]
push dword [ebp + 0xc]
push esi
call fcn.004a64f0
test al, al
je 0x44068f
mov ebx, dword [ebp + 0x20]
test ebx, ebx
je 0x440649
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
jne 0x440649
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
xor edi, edi
mov ecx, ebx
push edi
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push edi
push 0xffffffffffffffff
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x7c], 0
jmp 0x4407eb
shr esi, 0x15
mov byte [esi + 0x556a50], 1
jmp 0x4405a1
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x556a50], 1
jmp 0x440601
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x556a50], 1
jmp 0x4405d6
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x4406b5
lea eax, [ebp - 0x58]
mov ecx, dword [eax - 4]
mov dword [esi], ecx
lea ecx, [esi + 4]
push eax
call fcn.004147e0
add esi, 0x10
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004147e0
xor eax, eax
mov ebx, eax
test edi, edi
je 0x4406c8
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0041e770
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4406de
lea eax, [ebp - 0x40]
push eax
call fcn.0041e770
mov ecx, dword [ebp + 0x14]
test esi, esi
je 0x4406e7
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax*4 + 0x54ea50]
mov edx, dword [ebp - 0x84]
bt eax, edx
jae 0x440705
push ecx
call fcn.0044f5d0
add esp, 4
mov eax, dword [ebp - 0x88]
mov eax, dword [eax*4 + 0x54ea50]
mov ecx, dword [ebp - 0x8c]
bt eax, ecx
jae 0x440726
push edi
call fcn.0044f5d0
add esp, 4
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
test dword [ecx*4 + 0x54ea50], eax
je 0x440747
lea eax, [ebp - 0x78]
push eax
call fcn.0044f5d0
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.004a6000
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8be6
mov eax, ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov edi, dword [ebp + 0x10]
jmp 0x4406b7
lea ecx, [ebp - 0x78]
push 0
call fcn.004a6c80
test ebx, ebx
je 0x440768
test al, al
mov edi, dword [ebp + 0x10]
je 0x4406b7
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 0x3f800000
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 2
push 0
call esi
mov al, 1
jmp 0x4406b7
mov eax, dword [ebx]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp + 0x20]
call ebx
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [ebp + 0x20]
push 1
push edi
call ebx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x7c], esi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x440806
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x440766
lea ecx, [ebp - 0x78]
call fcn.004a6ac0
test eax, eax
je 0x440770
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x4407eb
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
test ebx, ebx
je 0x440887
movd xmm0, esi
movq xmm1, qword [0x52be60]
por xmm0, xmm1
subsd xmm0, xmm1
xorps xmm4, xmm4
cvtsd2ss xmm4, xmm0
movd xmm0, edi
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
divss xmm4, xmm0
mov eax, dword [ebx]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x9c], ecx
mov ecx, ebx
call dword [section..00cfg]
sub esp, 4
movss dword [esp], xmm4
mov ecx, dword [ebp + 0x20]
call ebx
mov ecx, dword [ebp - 0x9c]
mov ebx, dword [ebp + 0x20]
test esi, esi
je 0x4407eb
sub ecx, dword [ebp - 0x98]
mov eax, ecx
sub eax, dword [ebp - 0x7c]
cmp eax, 0xea60
jb 0x4407eb
sub edi, esi
mov eax, edi
mul ecx
xor edi, edi
push edi
push esi
push edx
push eax
mov esi, ecx
call fcn.005090e0
push edi
push 0x3e8
push edx
push eax
call fcn.005090e0
mov dword [ebp - 0x7c], esi
test ebx, ebx
je 0x4407eb
mov ecx, esi
mov edi, eax
mov eax, esi
mov ecx, 0x10624dd3
mul ecx
shr edx, 6
add edx, edi
cmp edx, 0x79
jl 0x4407d0
jmp 0x4407bb