Function at 0x4288c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48506b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4ae364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xd8], 0x48b504
push 0
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x88], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x8c], 0x48
call fcn.0042e230
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xd4]
call fcn.00427550
mov dword [ebp - 0xd4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 4
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], 3
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x40]
sub ecx, esi
mov eax, 0x5397829d
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x428a10
xor ebx, ebx
nop dword [eax + eax]
cmp byte [esi + ebx + 0x140], 0
je 0x4289ec
push 0x48b50c
push edi
lea ecx, [ebp - 0xd8]
call fcn.00427a20
push eax
call fcn.004267a0
mov eax, dword [ebp + 8]
add esp, 8
mov esi, dword [eax + 0x40]
jmp 0x4289ef
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
inc edi
sub ecx, esi
mov eax, 0x5397829d
imul ecx
add ebx, 0x188
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jne 0x4289c0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.00428380
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 9
test cl, 2
jne 0x428a87
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
test edx, edx
je 0x428a87
cmp edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xc4]
cmovb edx, dword [ebp - 0x9c]
mov ecx, dword [eax]
sub edx, ecx
sar edx, 1
push edx
jmp 0x428ab1
test cl, 4
jne 0x428aba
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
test edx, edx
je 0x428aba
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
add eax, eax
sub eax, ecx
add eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408780
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov edi, dword [str.Selected_Items]
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 4], 6
test esi, esi
je 0x428b63
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [ebp - 0x40]
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428b2f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b6d
push edx
push ecx
call fcn.0044c1f2
add esp, 8
test esi, esi
je 0x428b3a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xd8]
call fcn.00427e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c213
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040bdb0
call fcn.00466d4c
int3