Function at 0x401250
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x4120c0]
xor eax, esp
mov dword [esp + 0x890], eax
mov eax, dword [0x410368]
movq xmm0, qword [0x410358]
push ebx
push esi
mov dword [esp + 0x74], eax
mov ax, word [0x41036c]
push edi
mov edi, dword [ebp + 8]
mov word [esp + 0x7c], ax
lea eax, [esp + 0x68]
push eax
movq qword [esp + 0x6c], xmm0
movq xmm0, qword [0x410360]
push 0
push 0
movq qword [esp + 0x7c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4012d3
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.004029cd
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push str.SoftwareSmart_Compute
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401382
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x9c]
push eax
push 0
push 0
push str.UserGUID
push dword [esp + 0x28]
mov dword [esp + 0x28], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x401378
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [esp + 0x18]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401347
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.UserGUID
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movq xmm0, qword [0x410358]
mov eax, dword [0x410368]
movq qword [esp + 0x80], xmm0
movq xmm0, qword [0x410360]
mov dword [esp + 0x90], eax
mov ax, word [0x41036c]
push str.TaskbarCreated
movq qword [esp + 0x8c], xmm0
mov word [esp + 0x98], ax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0x2c
mov dword [0x413d14], eax
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004081e0
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
add esp, 0xc
lea eax, [esp + 0x80]
push 0x7f00
push 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], 0x401510
mov dword [esp + 0x28], 3
mov dword [esp + 0x24], 0x30
call esi
push 0x7f00
push 0
mov dword [esp + 0x3c], eax
call esi
push 0x7f00
push 0
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0xc
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x4012b9
push 0
push edi
push 0
push 0
push 0x190
push 0x190
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x410358
lea eax, [esp + 0xa8]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 0x58]
push eax
call esi
test eax, eax
je 0x4014cf
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop
lea eax, [esp + 0x4c]
push eax
call edi
lea eax, [esp + 0x4c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call esi
test eax, eax
jne 0x4014b0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4014ea
push 0x413d18
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x89c]
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004029cd
mov esp, ebp
pop ebp
ret 0x10