Function at 0x402980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [0x41b194]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.00401520
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREHitmanPro
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4029cf
mov byte [ebp - 5], 1
jmp 0x402b98
mov dword [ebp - 0x22c], 0x200
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0
push 0
push str.SchedulerWhen
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402a57
mov dword [ebp - 0x230], 0
jmp 0x402a19
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 9
jae 0x402a57
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax*8 + 0x417ed0]
push ecx
call fcn.00404b4c
add esp, 8
test eax, eax
jne 0x402a55
mov edx, dword [ebp - 0x230]
mov eax, dword [edx*8 + 0x417ed4]
mov dword [ebp - 0xc], eax
jmp 0x402a57
jmp 0x402a0a
cmp dword [ebp - 0xc], 0
je 0x402b8e
mov dword [ebp - 0x22c], 0x200
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0
push 0
push str.SchedulerAround
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x402b8e
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
push 0x3a
lea ecx, [ebp - 0x228]
push ecx
call fcn.00403860
add esp, 8
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x402af7
xor edx, edx
mov eax, dword [ebp - 0x234]
mov word [eax], dx
mov ecx, dword [ebp - 0x234]
add ecx, 2
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x234]
push edx
call fcn.00404c51
add esp, 4
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x228]
push eax
call fcn.00404c51
add esp, 4
mov dword [ebp - 0x23c], eax
fild dword [ebp - 0x23c]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x278]
push ecx
call fcn.004015f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00401570
lea ecx, [ebp - 0x278]
call fcn.00401550
cmp dword [ebp - 0x238], 0
jle 0x402b8e
fild dword [ebp - 0x238]
sub esp, 8
fstp qword [esp]
lea edx, [ebp - 0x288]
push edx
call fcn.00401610
add esp, 0xc
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x20]
call fcn.004015a0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401570
lea ecx, [ebp - 0x298]
call fcn.00401550
lea ecx, [ebp - 0x288]
call fcn.00401550
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
jne 0x402bbd
mov byte [ebp - 0x299], 0
lea ecx, [ebp - 0x20]
call fcn.00401550
mov al, byte [ebp - 0x299]
jmp 0x402dd3
cmp dword [ebp - 0xc], 9
jne 0x402bec
movzx edx, byte [ebp - 5]
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x29a], dl
lea ecx, [ebp - 0x20]
call fcn.00401550
mov al, byte [ebp - 0x29a]
jmp 0x402dd3
push 0
push 0
push 0
lea ecx, [ebp - 0x258]
call fcn.004016e0
cmp dword [ebp - 0xc], 8
jne 0x402c2f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00402090
add esp, 8
push eax
lea ecx, [ebp - 0x258]
call fcn.004017d0
lea ecx, [ebp - 0x2b8]
call fcn.004017b0
jmp 0x402ca1
mov dword [ebp - 0x25c], 0
jmp 0x402c4a
mov edx, dword [ebp - 0x25c]
add edx, 1
mov dword [ebp - 0x25c], edx
cmp dword [ebp - 0x25c], 7
jae 0x402ca1
mov eax, dword [ebp - 0x25c]
mov ecx, dword [eax*8 + 0x417e98]
cmp ecx, dword [ebp - 0xc]
jne 0x402c9f
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x25c]
mov ecx, dword [eax*8 + 0x417e9c]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.004021e0
add esp, 0xc
push eax
lea ecx, [ebp - 0x258]
call fcn.004017d0
lea ecx, [ebp - 0x2d0]
call fcn.004017b0
jmp 0x402ca1
jmp 0x402c3b
push 0
push 0
push 0
lea ecx, [ebp - 0x2f0]
call fcn.004016e0
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x258]
call fcn.00401970
mov byte [ebp - 0x2d1], al
lea ecx, [ebp - 0x2f0]
call fcn.004017b0
movzx ecx, byte [ebp - 0x2d1]
test ecx, ecx
je 0x402da9
lea ecx, [ebp - 0x258]
call fcn.00401e60
push eax
lea ecx, [ebp - 0x258]
call fcn.00401e90
push eax
lea ecx, [ebp - 0x258]
call fcn.00401ec0
push eax
lea ecx, [ebp - 0x258]
call fcn.00401dd0
push eax
lea ecx, [ebp - 0x258]
call fcn.00401e00
push eax
lea ecx, [ebp - 0x258]
call fcn.00401e30
push eax
push str.Timer_set_at__4d__02d__02d__02d:_02d:_02d_r_n
call fcn.00401180
add esp, 0x1c
lea edx, [ebp - 0x308]
push edx
lea ecx, [ebp - 0x258]
call fcn.00401ca0
mov ecx, eax
call fcn.00401ef0
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], edx
lea ecx, [ebp - 0x308]
call fcn.004017b0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp eax, 1
jne 0x402da9
mov byte [ebp - 0x309], 1
lea ecx, [ebp - 0x258]
call fcn.004017b0
lea ecx, [ebp - 0x20]
call fcn.00401550
mov al, byte [ebp - 0x309]
jmp 0x402dd3
mov byte [ebp - 0x30a], 0
lea ecx, [ebp - 0x258]
call fcn.004017b0
lea ecx, [ebp - 0x20]
call fcn.00401550
mov al, byte [ebp - 0x30a]
jmp 0x402dd3
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00404566
mov esp, ebp
pop ebp
ret