Function at 0x277d7df9
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.277d78d6
add esp, 0x24
test eax, eax
je 0x277d7e7c
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x28]
call fcn.277d76ec
pop ecx
lea eax, [ebp - 0x30]
pop ecx
push eax
lea eax, [ebp - 0x134]
push 0x27829e2c
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 0x277d7e83
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp + 0x38], ebx
je 0x277d7ebe
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push ebx
push 0x2782a680
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 0x277d80f9
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 0x2782a684
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 0x277d80f9
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 0x277d80f9
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push ebx
push 0x2782a688
push ebx
push 0x27829e4c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
mov dword [ebp + 0x34], eax
jne 0x277d80f9
push dword [ebp + 0x2c]
lea eax, [ebp - 0x134]
push 0x27829e50
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 0x277d80f9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x38], ebx
mov dword [ebp - 4], ebx
je 0x277d8037
lea eax, [ebp - 0x134]
push 0x104
push eax
push dword [0x278272e8]
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 0x2782a68c
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 0x277d80f9
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 0x277d80f9
lea eax, [ebp + 0x1c]
push eax
push 0x277cb3a8
push 1
push ebx
push 0x277cb398
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x277d80f9
mov eax, dword [0x277ca350]
cmp eax, ebx
jle 0x277d80a3
cmp eax, ebx
mov dword [ebp + 0x30], ebx
jle 0x277d808f
lea edx, [ebp - 0x1d4]
mov ecx, 0x2782a6c0
cmp ecx, 0x2782a6e8
jge 0x277d808f
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 0x277d8071
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 [0x277ca354]
cmp eax, ebx
jle 0x277d80f0
cmp eax, ebx
mov dword [ebp + 0x30], ebx
jle 0x277d80dc
lea edx, [ebp - 0x1d4]
mov ecx, 0x2782b28c
cmp ecx, 0x2782b2b4
jge 0x277d80dc
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 0x277d80be
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 0x277d8107
push dword [ebp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], ebx
je 0x277d8115
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp + 0x34], ebx
sete al
jmp 0x277d7e7e