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

Disassembly:
push 0x60
mov eax, 0x65554b
call fcn.005bea6f
mov esi, ecx
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x6c]
mov ebx, eax
test ecx, ecx
je 0x41a06e
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x419e11
mov al, byte [edx]
jmp 0x419e14
mov al, byte [ecx + 0x18]
test al, al
jne 0x419e26
mov eax, ebx
sub eax, dword [edi + 0x34]
cmp eax, dword [esi + 0x50]
jbe 0x41a06e
mov dword [edi + 0x34], ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareHPNGLogging
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a065
mov eax, dword [esi + 0x50]
xor edx, edx
mov ecx, 0x3e8
mov dword [ebp - 0x60], ebx
div ecx
push str.SoftwareHPNGLogging
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x64], eax
call fcn.0041bcf1
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
call fcn.00417457
mov byte [ebp - 4], 1
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov edx, str.LogParmsPollTime
push eax
call fcn.004208ed
cmp dword [ebp - 0x64], ebx
pop ecx
push 0x1e
pop eax
cmovne eax, dword [ebp - 0x64]
mov ecx, edi
push dword [esi + 0x6c]
imul eax, eax, 0x3e8
push ebx
push dword [ebp - 0x6c]
mov dword [esi + 0x50], eax
call fcn.00419190
mov ebx, 0x7291ac
push ebx
call fcn.004169f0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.0041dcf4
push 0xffffffffffffffff
push 0
lea ebx, [esi + 0x20]
push ebx
lea ecx, [ebp - 0x44]
call fcn.0041ddb9
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041c9a7
push ebx
lea ecx, [ebp - 0x5c]
call fcn.0041bd4a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0041743a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ebx, eax
test ebx, ebx
je 0x419f24
lea ecx, [ebp - 0x5c]
call fcn.0041743a
sub ebx, eax
lea ecx, [ebp - 0x5c]
sar ebx, 1
push 0
push ebx
call fcn.0041bbf6
lea eax, [ebp - 0x5c]
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.0041f1ad
test eax, eax
je 0x419f5c
push 0x7291ac
call fcn.004169f0
pop ecx
push eax
push 0x7291ac
lea ecx, [ebp - 0x2c]
call fcn.0041dcf4
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041ddb9
mov eax, dword [esi + 0x6c]
mov ebx, 0x20019
test dword [eax + 0xc], 0x1000000
lea eax, [ebp - 0x60]
je 0x419f8f
xor ecx, ecx
push ecx
push eax
push ecx
push ebx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041743a
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x419fa7
push eax
push ebx
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041743a
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x68]
push eax
push ebx
push 0
call fcn.0041743a
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41a02b
push dword [esi + 0x6c]
mov ecx, edi
push 0
push dword [ebp - 0x68]
call fcn.00419190
lea ecx, [esi + 0x20]
call fcn.0041743a
mov ecx, dword [esi + 0x2d0]
push eax
push dword [ebp - 0x68]
call fcn.004195ed
cmp dword [ebp - 0x64], 0
jne 0x41a026
cmp dword [ebp - 0x60], 0
je 0x41a026
push dword [esi + 0x6c]
mov ecx, edi
push 0
push dword [ebp - 0x60]
call fcn.00419190
push dword [esi + 0x6c]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x60]
call fcn.0041743a
push eax
mov ecx, edi
call fcn.0041924a
push dword [ebp - 0x68]
call ebx
cmp dword [ebp - 0x64], 0
jne 0x41a03c
cmp dword [ebp - 0x60], 0
je 0x41a03c
push dword [ebp - 0x60]
call ebx
push dword [ebp - 0x6c]
call ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00416f5c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00416f5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00416f5c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x34], eax
call fcn.005bea19
ret 4