Function at 0x273bd4b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 0x28]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
push dword [ebp + 0x24]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.273bd31e
add esp, 0x10
test eax, eax
je 0x273bd940
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x138]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x138]
push 0x273d5168
push eax
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x138]
push eax
call edi
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d20
lea eax, [ebp - 0x138]
push esi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
cmp dword [ebp + 0x10], esi
jne 0x273bd566
push dword [ebp + 0xc]
lea eax, [ebp - 0x138]
push 0x273d516c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x273bd572
push dword [ebp + 0x10]
lea eax, [ebp - 0x138]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x138]
push eax
call edi
inc eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push esi
push esi
push dword [ebp - 8]
call ebx
cmp eax, esi
jne 0x273bd924
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d24
push esi
push 0x273d5178
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x24]
call fcn.273bd2d3
pop ecx
test eax, eax
pop ecx
je 0x273bd924
lea eax, [ebp - 0x34]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x273bd924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d28
push esi
push str.CurVer
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
push dword [ebp + 0x14]
lea eax, [ebp - 0x138]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x273d5188
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x138]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x273bd924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d2c
lea eax, [ebp - 0x138]
push esi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
cmp dword [ebp + 0x10], esi
jne 0x273bd6d4
push dword [ebp + 0xc]
lea eax, [ebp - 0x138]
push str._s_Object
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x273bd6e4
push dword [ebp + 0x10]
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x138]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push esi
push esi
push dword [ebp - 8]
call ebx
cmp eax, esi
jne 0x273bd924
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d30
push esi
push 0x273d51a0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
lea eax, [ebp - 0x34]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x273bd924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x24]
call fcn.273bd2d3
pop ecx
test eax, eax
pop ecx
je 0x273bd924
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x138]
push 0x273d51a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d34
lea eax, [ebp - 0x138]
push esi
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d38
push esi
push str.VersionIndependentProgID
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
push dword [ebp + 0xc]
lea eax, [ebp - 0x138]
push dword [ebp + 8]
push 0x273d51d0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x138]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x273bd924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d3c
push esi
push str.ProgID
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x273bd924
push dword [ebp + 0x14]
lea eax, [ebp - 0x138]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x273d51e0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x138]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x138]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x273bd924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push 0x273d8d40
push esi
push 0x273d51ec
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x20]
call fcn.273bd2d3
pop ecx
test eax, eax
pop ecx
je 0x273bd924
lea eax, [ebp - 0x34]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x34]
push eax
push 1
push esi
push esi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x273bd924
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push 0x273d8d44
push esi
push str.Version
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
je 0x273bd944
cmp dword [ebp - 8], esi
je 0x273bd940
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
je 0x273bd940
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x273bd9c3
push dword [ebp + 0x1c]
lea eax, [ebp - 0x138]
push dword [ebp + 0x18]
push str._ld._ld
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x138]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x138]
push eax
push 1
pop edi
push edi
push esi
push esi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0xc]
push eax
push 0x273d2b00
push edi
push esi
push 0x273d2af0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x273bd9b1
mov eax, dword [ebp - 0xc]
push 0x273d2ae0
push edi
push dword [ebp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret