Function at 0x51fa40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x34
push ebx
push esi
lea eax, [esp + 0x14]
push eax
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push 0x670984
push ebx
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x51fce7
mov ecx, dword [esp + 0x10]
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.isStartEnabled
mov ebp, 4
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51faaa
mov byte [esi + 0x21], bl
jmp 0x51fab4
cmp dword [esp + 0x14], ebx
setne dl
mov byte [esi + 0x21], dl
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push str.isStopEnabled
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fad9
mov byte [esi + 0x22], bl
jmp 0x51fae3
cmp dword [esp + 0x14], ebx
setne al
mov byte [esi + 0x22], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push str.isStartDilay
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fb08
mov byte [esi + 0x23], bl
jmp 0x51fb12
cmp dword [esp + 0x14], ebx
sete cl
mov byte [esi + 0x23], cl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.isForceTurnOff
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fb37
mov byte [esi + 0x40], bl
jmp 0x51fb41
cmp dword [esp + 0x14], ebx
setne dl
mov byte [esi + 0x40], dl
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push str.isHangUpModem
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fb66
mov byte [esi + 0x43], bl
jmp 0x51fb70
cmp dword [esp + 0x14], ebx
setne al
mov byte [esi + 0x43], al
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push str.isTurnOffComputer
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fb95
mov byte [esi + 0x41], bl
jmp 0x51fb9f
cmp dword [esp + 0x14], ebx
setne cl
mov byte [esi + 0x41], cl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.isExitIDMWhenDone
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fbc4
mov byte [esi + 0x42], bl
jmp 0x51fbce
cmp dword [esp + 0x14], ebx
setne dl
mov byte [esi + 0x42], dl
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push str.startDaysOfWeek
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
je 0x51fbf7
mov dword [esi + 0x3c], 0x7f
jmp 0x51fbfe
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push str.startTime
push eax
mov dword [esp + 0x28], ebp
call edi
or ebp, 0xffffffff
test eax, eax
jne 0x51fc5a
mov eax, dword [esp + 0x14]
cdq
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x28], edx
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x24], eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.startDay
push ecx
mov dword [esp + 0x28], 4
call edi
test eax, eax
jne 0x51fca1
mov eax, dword [esp + 0x14]
cdq
mov dword [esi + 0x30], edx
jmp 0x51fca8
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x17
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x77
mov dword [esp + 0x44], ebp
call fcn.0061e3a0
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, ebp
jne 0x51fc26
push 0x80070057
call fcn.00401090
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.stopTime
push ecx
mov dword [esp + 0x28], 4
call edi
test eax, eax
jne 0x51fced
mov eax, dword [esp + 0x14]
cdq
mov dword [esi + 0x38], edx
mov edx, dword [esp + 0x18]
push edx
mov dword [esi + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x34
ret
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x77
mov dword [esp + 0x44], ebp
call fcn.0061e3a0
mov ecx, eax
and ecx, edx
add esp, 4
cmp ecx, ebp
jne 0x51fcd4
push 0x80070057
call fcn.00401090
int3