Function at 0x404556
Capabilities:
Create process on windows
Persist via run registry key
Set current directory

Disassembly:
mov eax, 0x41e1fe
call fcn.0040699c
sub esp, 0x228
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
xor esi, esi
push eax
mov dword [ebp - 0x28], esi
call fcn.00403204
pop ecx
mov ebx, 0x42b86c
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.00419509
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041941c
lea eax, [ebp - 0x10]
push eax
call fcn.00403512
pop ecx
mov edi, 0x42b868
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00419509
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041941c
mov eax, dword [0x42b86c]
push 0x429f70
push eax
call fcn.004078e2
pop ecx
test eax, eax
pop ecx
jne 0x404623
lea eax, [ebp - 0x24]
push eax
call fcn.004033ea
mov dword [esp], 0x4260e4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
call fcn.00419624
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00419509
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0041941c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041941c
mov dword [0x42b880], 1
push 0xf
mov ecx, 0x42b864
call fcn.004198dc
cmp dword [0x42b880], esi
lea eax, [ebp - 0x10]
jne 0x404ae0
mov esi, 0x4260f8
push esi
push ebx
push eax
call fcn.00419624
push dword [eax]
mov dword [ebp - 4], 4
call fcn.00403585
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041941c
mov eax, dword [0x42b87c]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [0x42b878]
mov dword [ebp - 0x24], eax
mov eax, dword [0x42b874]
mov dword [ebp - 0x30], eax
mov eax, dword [0x42b870]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00419624
push dword [eax]
mov dword [ebp - 4], 5
call fcn.00403585
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0041941c
mov edi, dword [ebp - 0x10]
mov esi, dword [0x42b87c]
imul edi, edi, 0x64
imul esi, esi, 0x64
add edi, dword [ebp - 0x24]
add esi, dword [0x42b878]
imul edi, edi, 0x64
imul esi, esi, 0x64
add edi, dword [ebp - 0x30]
add esi, dword [0x42b874]
imul edi, edi, 0x64
imul esi, esi, 0x64
add edi, dword [ebp - 0x20]
add esi, dword [0x42b870]
cmp dword [0x4264c0], 0
jne 0x40479c
cmp esi, edi
ja 0x40479c
mov eax, dword [0x426a64]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], eax
sbb eax, eax
lea ecx, [ebp - 0x1c]
add eax, 0x11
mov byte [ebp - 4], 7
push eax
call fcn.004198dc
push dword [0x42b870]
cmp edi, esi
lea eax, [ebp - 0x18]
push dword [0x42b874]
push dword [0x42b878]
push dword [0x42b87c]
jbe 0x404754
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push eax
call fcn.00415024
add esp, 0x28
jmp 0x404760
push dword [ebp - 0x1c]
push eax
call fcn.00415024
add esp, 0x18
push 0
push 0x24
push dword [ebp - 0x18]
call fcn.0041b982
cmp eax, 6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
je 0x40478e
call fcn.0041941c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041941c
jmp 0x404ba0
call fcn.0041941c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
jmp 0x4047ce
push str.HprSnap5.hs5lic
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [0x42b890], 1
call fcn.00419624
mov eax, dword [eax]
push 0
push eax
call fcn.00406dcf
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea ecx, [ebp - 0x10]
mov dword [0x42b894], eax
call fcn.0041941c
push str.AllUsers
mov esi, 0x80000002
push str.SOFTWAREHyperionicsHyperSnap_DX_v.5
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00403138
push 0x426758
mov dword [ebp - 4], 8
push dword [ebp - 0x2c]
call fcn.004078e2
add esp, 0x18
neg eax
sbb al, al
push str.HprUnInst.log
inc al
push ebx
movzx eax, al
mov dword [0x42b888], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00419624
mov eax, dword [eax]
mov edi, 0x426324
push edi
push eax
call fcn.00406dbc
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041941c
cmp dword [ebp - 0x1c], 0
jne 0x404870
push str.install.log
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00419624
mov eax, dword [eax]
push edi
push eax
call fcn.00406dbc
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041941c
cmp dword [ebp - 0x1c], 0
je 0x404acb
mov eax, dword [0x426a64]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
cmp dword [0x42b888], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
je 0x4048d2
push str.Common_Programs
push edi
push esi
push eax
call fcn.00403138
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00419509
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0041941c
push str.Common_Startup
push edi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00403138
add esp, 0x10
mov byte [ebp - 4], 0xc
jmp 0x404917
push str.Programs
mov esi, 0x80000001
push edi
push esi
push eax
call fcn.00403138
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00419509
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0041941c
push str.Startup
push edi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00403138
add esp, 0x10
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20]
push eax
call fcn.00419509
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0041941c
push 1
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004148fb
lea eax, [ebp - 0x24]
push 1
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00414b88
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call fcn.004078e2
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x24]
setne byte [ebp - 0x11]
call fcn.0041941c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0041941c
cmp byte [ebp - 0x11], 0
je 0x404984
push 0x426254
lea ecx, [ebp - 0x18]
call fcn.0041976b
lea ecx, [ebp - 0x18]
call fcn.0041987c
lea ecx, [ebp - 0x20]
call fcn.0041987c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x234]
push 0x200
push eax
call fcn.00407210
add esp, 0xc
test eax, eax
je 0x404aaa
mov edi, str.Shell_Link:
and byte [ebp - 0x35], 0
lea eax, [ebp - 0x234]
push eax
call fcn.004070c0
pop ecx
lea eax, [ebp + eax - 0x234]
jmp 0x4049db
cmp byte [eax], 0x20
ja 0x4049e5
and byte [eax], 0
dec eax
lea ecx, [ebp - 0x234]
cmp eax, ecx
ja 0x4049d2
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.00407190
pop ecx
pop ecx
lea ecx, [ebp - 0x234]
cmp eax, ecx
jne 0x404a8b
push edi
call fcn.004070c0
pop ecx
lea eax, [ebp + eax - 0x234]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00419559
lea ecx, [ebp - 0x2c]
call fcn.0041987c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
call fcn.00414c9e
test eax, eax
jne 0x404a8b
push dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
call fcn.00414c9e
test eax, eax
jge 0x404a8b
mov eax, dword [ebp - 0x18]
push edi
mov esi, dword [eax - 8]
call fcn.004070c0
add eax, esi
pop ecx
mov esi, 0x42b864
lea eax, [ebp + eax - 0x234]
mov ecx, esi
push eax
call fcn.00419559
push dword [0x42b864]
lea eax, [ebp - 0x10]
push eax
call fcn.004039d4
pop ecx
pop ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.00419509
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.0041941c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x234]
push 0x200
push eax
call fcn.00407210
add esp, 0xc
test eax, eax
jne 0x4049b8
push dword [ebp - 0x1c]
call fcn.004069bb
pop ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.0041941c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0041941c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041941c
xor esi, esi
mov edi, 0x42b868
jmp 0x404b07
push 0x4260f8
push edi
push eax
call fcn.00419624
push dword [eax]
mov dword [ebp - 4], 0x11
call fcn.00403585
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041941c
cmp dword [0x42b87c], esi
je 0x404b3d
push str.HprUnInst.log
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00419624
mov eax, dword [eax]
push esi
push eax
call fcn.00406dcf
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x10]
setl byte [ebp - 0x11]
call fcn.0041941c
cmp byte [ebp - 0x11], 0
je 0x404b42
call fcn.0040452d
cmp dword [0x4264c0], esi
je 0x404b63
cmp dword [0x42b880], esi
je 0x404b5c
mov dword [0x42b888], 1
call fcn.00403acf
jmp 0x404bad
push esi
lea ecx, [ebp - 0x18c]
call fcn.00404f99
lea eax, [ebp - 0x18c]
lea ecx, [ebp - 0x18c]
mov dword [ebp - 4], 0x12
mov dword [0x429f94], eax
call fcn.00415c73
or dword [ebp - 4], 0xffffffff
cmp eax, 1
lea ecx, [ebp - 0x18c]
je 0x404ba8
call fcn.00404d43
xor eax, eax
inc eax
jmp 0x404d34
call fcn.00404d43
push dword [0x42b86c]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [0x4264c0], esi
jne 0x404d06
cmp dword [0x42b880], esi
jne 0x404bd9
cmp dword [0x42b890], esi
je 0x404d06
mov eax, dword [0x426a64]
mov dword [ebp - 0x20], eax
push str.HomePage.url
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 4], 0x13
call fcn.00419624
mov eax, dword [eax]
push 0x426324
push eax
call fcn.00406dbc
pop ecx
mov edi, eax
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0041941c
cmp edi, esi
je 0x404c72
jmp 0x404c33
lea eax, [ebp - 0x13c]
push str.URLhttp:__
push eax
call fcn.00407190
pop ecx
pop ecx
lea ecx, [ebp - 0x13c]
cmp eax, ecx
je 0x404c4e
push edi
lea eax, [ebp - 0x13c]
push 0x104
push eax
call fcn.00407210
add esp, 0xc
test eax, eax
jne 0x404c16
jmp 0x404c6b
lea eax, [ebp - 0x13c]
push 0x3f
push eax
call fcn.00407c80
pop ecx
cmp eax, esi
pop ecx
je 0x404c6b
push eax
lea ecx, [ebp - 0x20]
call fcn.00419559
push edi
call fcn.004069bb
pop ecx
cmp dword [0x42b894], esi
jne 0x404cac
push 0x429f70
push dword [ebp - 0x20]
call fcn.004078e2
pop ecx
test eax, eax
pop ecx
jle 0x404cac
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push str.http:__www.hyperionics.com_hsdx_InstScript.asp
push eax
call fcn.00419698
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0x14
jmp 0x404cc0
push str.http:__www.hyperionics.com_hsdx_installed.asp
lea ecx, [ebp - 0x10]
call fcn.0041948a
mov dword [ebp - 0x28], 2
mov eax, dword [eax]
push 5
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test byte [ebp - 0x28], 2
je 0x404ce5
and dword [ebp - 0x28], 0xfffffffd
lea ecx, [ebp - 0x10]
call fcn.0041941c
test byte [ebp - 0x28], 1
mov dword [ebp - 4], 0x13
je 0x404cfa
lea ecx, [ebp - 0x24]
call fcn.0041941c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041941c
cmp dword [0x42b884], esi
je 0x404d32
push 0x4260f8
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00419624
push esi
push dword [eax]
push 1
call fcn.00407c52
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.0041941c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret