Function at 0x4015e0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4329b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43e0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x441584]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
mov edi, 0x104
sub eax, edi
or eax, edx
jge 0x401639
mov eax, edi
mov ecx, 0x441584
call fcn.004055c0
mov ecx, dword [0x441584]
mov esi, ecx
cmp dword [ecx - 8], edi
jge 0x40164a
push 0x80070057
call fcn.00401540
push edi
mov dword [ecx - 0xc], edi
mov ecx, dword [0x441584]
push esi
xor eax, eax
xor ebx, ebx
push ebx
mov word [ecx + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp eax, ebx
je 0x401677
xor edx, edx
mov word [eax], dx
mov eax, dword [0x441584]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0041f064
add esp, 8
cmp eax, ebx
jl 0x401640
mov ecx, dword [0x441584]
cmp eax, dword [ecx - 8]
jg 0x401640
mov dword [ecx - 0xc], eax
mov edx, dword [0x441584]
xor ecx, ecx
mov word [edx + eax*2], cx
call fcn.00401c00
test eax, eax
je 0x401810
push str.Real
call fcn.0040afc0
add esp, 4
test eax, eax
jne 0x4016fd
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx esi, word [ebp - 0x20]
movzx ecx, word [ebp - 0x1e]
imul esi, esi, 0x64
movzx edx, word [ebp - 0x1a]
add esi, ecx
imul esi, esi, 0x64
push str.Udte
add esi, edx
call fcn.0040afc0
xor ecx, ecx
add esp, 4
cmp eax, esi
setne cl
cmp ecx, ebx
je 0x401722
cmp dword [0x441544], ebx
ja 0x401722
push 0x441544
push ebx
push 0x2710
push 0x41aa70
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x441540], eax
push ebx
push 0x2710
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
xor esi, esi
mov dword [0x441598], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, str.SpesmarlIlnclzs
mov dword [ebp - 4], ebx
call fcn.0040dcd0
mov eax, dword [eax]
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401781
mov esi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
cmp eax, ebx
mov eax, dword [ebp - 0x2c]
sete byte [ebp - 0x21]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4017a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x21], bl
je 0x4017fa
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
push ebx
push str.DelayMinutes
push esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x4017de
push esi
call edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
cmp eax, 3
jbe 0x4017fa
mov ecx, eax
shl ecx, 4
sub ecx, eax
add ecx, ecx
add ecx, ecx
mov dword [0x441594], ecx
call fcn.004036a0
call fcn.00404260
cmp esi, ebx
je 0x40180b
push esi
call edi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e965
mov esp, ebp
pop ebp
ret