Function at 0x24ddbc23
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x34]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.24ddb711
add esp, 0x24
test eax, eax
je 0x24ddbca6
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x28]
call fcn.24ddb52e
pop ecx
lea eax, [ebp - 0x30]
pop ecx
push eax
lea eax, [ebp - 0x134]
push 0x24de58a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x24]
mov esi, 0xf003f
push eax
push esi
lea eax, [ebp - 0x134]
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x24ddbcad
xor eax, eax
jmp 0x24ddbf47
cmp dword [ebp + 0x38], ebx
je 0x24ddbce8
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push 0x24de5cd8
push ebx
push str.Control
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x24ddbf23
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push 0x24de5cdc
push ebx
push str.MiscStatus
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x24ddbf23
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 2
push eax
push 1
push ebx
push ebx
mov byte [ebp - 0x134], 0x30
push dword [ebp - 4]
mov byte [ebp - 0x133], bl
call edi
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x24ddbf23
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push ebx
push 0x24de5ce0
push ebx
push 0x24de58c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x24ddbf23
push dword [ebp + 0x2c]
lea eax, [ebp - 0x134]
push 0x24de58cc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x134]
push eax
push 1
push ebx
push ebx
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov dword [ebp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x34], ebx
jne 0x24ddbf23
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x38], ebx
mov dword [ebp - 4], ebx
je 0x24ddbe61
lea eax, [ebp - 0x134]
push 0x104
push eax
push dword [0x24de5c24]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movzx eax, word [ebp + 0x30]
push eax
lea eax, [ebp - 0x30]
push str.___d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push 0x24de5ce4
push ebx
push str.ToolboxBitmap32
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x24ddbf23
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x134]
push eax
push 1
push ebx
push ebx
push dword [ebp - 4]
call edi
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x24ddbf23
lea eax, [ebp + 0x1c]
push eax
push 0x24de4510
push 1
push ebx
push 0x24de4500
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x24ddbf23
mov eax, dword [0x24de36d8]
cmp eax, ebx
jle 0x24ddbecd
cmp eax, ebx
mov dword [ebp + 0x30], ebx
jle 0x24ddbeb9
lea edx, [ebp - 0x1d4]
mov ecx, 0x24de5bb4
cmp ecx, 0x24de5bdc
jge 0x24ddbeb9
mov esi, dword [ecx]
mov edi, edx
movsd dword es:[edi], dword [esi]
inc dword [ebp + 0x30]
add ecx, 4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, 0x10
cmp dword [ebp + 0x30], eax
movsd dword es:[edi], dword [esi]
jl 0x24ddbe9b
mov ecx, dword [ebp + 0x1c]
lea esi, [ebp - 0x1d4]
push esi
push eax
push dword [ebp + 0x28]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x14]
mov eax, dword [0x24de36dc]
cmp eax, ebx
jle 0x24ddbf1a
cmp eax, ebx
mov dword [ebp + 0x30], ebx
jle 0x24ddbf06
lea edx, [ebp - 0x1d4]
mov ecx, 0x24de5bb8
cmp ecx, 0x24de5be0
jge 0x24ddbf06
mov esi, dword [ecx]
mov edi, edx
movsd dword es:[edi], dword [esi]
inc dword [ebp + 0x30]
add ecx, 4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, 0x10
cmp dword [ebp + 0x30], eax
movsd dword es:[edi], dword [esi]
jl 0x24ddbee8
mov ecx, dword [ebp + 0x1c]
lea esi, [ebp - 0x1d4]
push esi
push eax
push dword [ebp + 0x28]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x1c]
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp + 0x24], ebx
je 0x24ddbf31
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x24ddbf3f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp + 0x34], ebx
sete al
pop edi
pop esi
pop ebx
leave
ret