Function at 0x234cbdcd
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.234cb8aa
add esp, 0x24
test eax, eax
je 0x234cbe50
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x28]
call fcn.234cb6c0
pop ecx
lea eax, [ebp - 0x30]
pop ecx
push eax
lea eax, [ebp - 0x134]
push 0x234d2528
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 SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x234cbe57
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp + 0x38], ebx
je 0x234cbe92
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push 0x234d270c
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 0x234cc0cd
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 0x234d2710
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 0x234cc0cd
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 0x234cc0cd
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push ebx
push 0x234d2714
push ebx
push 0x234d2548
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x234cc0cd
push dword [ebp + 0x2c]
lea eax, [ebp - 0x134]
push 0x234d254c
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 0x234cc0cd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x38], ebx
mov dword [ebp - 4], ebx
je 0x234cc00b
lea eax, [ebp - 0x134]
push 0x104
push eax
push dword [0x234d2008]
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 0x234d2718
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 0x234cc0cd
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 0x234cc0cd
lea eax, [ebp + 0x1c]
push eax
push 0x234c69b8
push 1
push ebx
push 0x234c69a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x234cc0cd
mov eax, dword [0x234c654c]
cmp eax, ebx
jle 0x234cc077
cmp eax, ebx
mov dword [ebp + 0x30], ebx
jle 0x234cc063
lea edx, [ebp - 0x1d4]
mov ecx, 0x234d2748
cmp ecx, 0x234d2770
jge 0x234cc063
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 0x234cc045
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 [0x234c6550]
cmp eax, ebx
jle 0x234cc0c4
cmp eax, ebx
mov dword [ebp + 0x30], ebx
jle 0x234cc0b0
lea edx, [ebp - 0x1d4]
mov ecx, 0x234d28b4
cmp ecx, 0x234d28dc
jge 0x234cc0b0
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 0x234cc092
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 0x234cc0db
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x234cc0e9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp + 0x34], ebx
sete al
jmp 0x234cbe52