Function at 0x41a9e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4896c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41aa21
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41aa53
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 1
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41aa82
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov bl, 2
push str.CLSID2C09E1D5_A6B4_4725_AFED_32699676F665
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], bl
call fcn.00406500
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00406820
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aad9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4b92b8
lea ecx, [esp + 0x18]
call fcn.00406820
push 0x497d64
lea ecx, [esp + 0x24]
call fcn.00406500
mov byte [esp + 0x34], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a140
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ab2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea ecx, [esp + 0x18]
push ecx
push edx
push SysReAllocString
call esi
push 0x4b92a4
lea ecx, [esp + 0x18]
call fcn.00406820
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push str.DefaultIcon
push ecx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push ecx
push eax
push 1
push str.DefaultIcon
push edx
call edi
mov ebp, dword [esp + 0x3c]
push str.__1_zhj3
add ebp, 0x260c
lea eax, [esp + 0x40]
push ebp
push eax
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.00406820
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41abd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push str.ShellOpenCommand
push edx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push str.ShellOpenCommand
push eax
call edi
push str.SOFTWAREhjmtools
lea ecx, [esp + 0x40]
call fcn.00406500
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 6
call fcn.00406820
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ac3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00406820
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push eax
push esi
push 1
push ebp
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ac8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41acae
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebp, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41acd3
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4