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

Disassembly:
push 0x74
mov eax, 0x483094
call fcn.00468d31
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x70], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x420985
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x4206fd
mov cl, byte [edi]
jmp 0x420700
mov cl, byte [ecx + 0x18]
test cl, cl
jne 0x420712
mov ecx, eax
sub ecx, dword [ebx + 0x3c]
cmp ecx, dword [esi + 0x5c]
jbe 0x420985
mov dword [ebx + 0x3c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
mov edi, str.SoftwareHPNGLogging
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42097c
and dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x5c]
xor edx, edx
mov ecx, 0x3e8
div ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, edi
call fcn.00413200
and dword [ebp - 4], 0
and dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 1
push str.LogParmsPollTime
push dword [ebp - 0x78]
lea edi, [ebp - 0x68]
call fcn.00423203
mov eax, dword [ebp - 0x68]
pop ecx
pop ecx
test eax, eax
jne 0x420791
push 0x1e
pop eax
mov ecx, dword [esi + 0x7c]
imul eax, eax, 0x3e8
push 0
push ebx
mov ebx, dword [ebp - 0x78]
mov dword [esi + 0x5c], eax
call fcn.0041f9c6
lea eax, [ebp - 0x64]
push eax
mov eax, 0x496b80
call fcn.004054c0
lea edi, [esi + 0x24]
xor ebx, ebx
push ebx
push edi
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov dword [ebp - 0x80], edi
call fcn.00407500
push ebx
mov eax, esi
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040c6b0
mov ecx, edi
lea esi, [ebp - 0x2c]
call fcn.0040bab0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4207f3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp eax, ebx
je 0x420818
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x42080a
lea ecx, [ebp - 0x2c]
sub eax, ecx
sar eax, 1
push ebx
push eax
lea eax, [ebp - 0x2c]
call fcn.00422146
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x2c]
add esi, 8
cmp dword [ebp - 0x18], 8
jae 0x42082a
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x10]
mov ecx, esi
call fcn.004077e0
test eax, eax
je 0x420857
lea eax, [ebp - 0x48]
push eax
mov eax, 0x496b80
call fcn.004054c0
push ebx
push esi
or eax, 0xffffffff
lea esi, [ebp - 0x48]
call fcn.00407500
mov esi, dword [ebp - 0x7c]
mov eax, dword [esi + 0x7c]
test dword [eax + 0xc], 0x1000000
mov eax, dword [ebp - 0x48]
je 0x42088e
cmp dword [ebp - 0x34], 8
jae 0x420872
lea eax, [ebp - 0x48]
push ebx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x4208ad
cmp dword [ebp - 0x34], 8
jae 0x420897
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x6c]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
jae 0x4208bc
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x74]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x420942
mov ecx, dword [esi + 0x7c]
push ebx
push dword [ebp - 0x70]
mov ebx, dword [ebp - 0x74]
call fcn.0041f9c6
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 8
jb 0x4208f6
mov eax, dword [eax]
push dword [ebp - 0x74]
mov edx, dword [esi + 0x2e8]
mov ecx, eax
call fcn.0041fead
cmp dword [ebp - 0x68], 0
jne 0x42093b
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x42093b
mov ecx, dword [esi + 0x7c]
push 0
push dword [ebp - 0x70]
call fcn.0041f9c6
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x42092c
lea eax, [ebp - 0x64]
push dword [esi + 0x7c]
push dword [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call fcn.0041fa7f
push dword [ebp - 0x74]
call edi
xor ebx, ebx
cmp dword [ebp - 0x68], ebx
jne 0x420951
cmp dword [ebp - 0x6c], ebx
je 0x420951
push dword [ebp - 0x6c]
call edi
push dword [ebp - 0x78]
call edi
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.0040c150
mov byte [ebp - 4], bl
lea esi, [ebp - 0x48]
call fcn.0040c150
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x64]
call fcn.0040c150
mov ebx, dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x3c], eax
call fcn.00468db4
ret