Function at 0x466550
Capabilities:
Inspect load icon resource
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47edab
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4ba494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x164], ecx
mov ecx, dword [ebp - 0x164]
call fcn.00427ff8
push 0
mov ecx, dword [ebp - 0x164]
call fcn.00405280
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4665fc
lea ecx, [ebp - 0x24]
call fcn.00401710
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x24]
call fcn.00403320
lea ecx, [ebp - 0x24]
call fcn.00402000
movzx eax, al
test eax, eax
jne 0x4665ed
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x10]
call fcn.00424ec0
lea ecx, [ebp - 0x24]
call fcn.0040aa10
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00424ec0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00413390
push 1
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx + 0x374]
push edx
mov ecx, dword [ebp - 0x164]
call fcn.00424fc0
push 0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x374]
push ecx
mov ecx, dword [ebp - 0x164]
call fcn.00424fc0
mov edx, dword [ebp - 0x164]
cmp dword [edx + 0x2038], 0
jne 0x466bdf
mov ecx, 0x4bf380
call fcn.00467090
test eax, eax
jne 0x466bdf
push 0x48d210
lea ecx, [ebp - 0x30]
call fcn.00403210
mov dword [ebp - 4], 1
push 0x48de60
lea ecx, [ebp - 0x30]
call fcn.00405670
push 0x48d228
lea ecx, [ebp - 0x30]
call fcn.00405670
push 0x487c17
lea ecx, [ebp - 0x2c]
call fcn.00403210
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x30]
call fcn.0040aa10
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4667db
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
push 0x104
lea ecx, [ebp - 0x4c]
call fcn.0041bf00
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], 0x104
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
push 0
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.0041bfa0
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4667cf
cmp dword [ebp - 0x3c], 0
ja 0x46673f
mov dword [ebp - 0x34], 0x104
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x4666ef
mov byte [ebp - 0x115], 0
lea ecx, [ebp - 0x115]
push ecx
mov edx, dword [ebp - 0x3c]
add edx, 1
push edx
lea ecx, [ebp - 0x60]
call fcn.0041bf40
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], 0x104
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x60]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
push 0
lea ecx, [ebp - 0x4c]
call fcn.0041bfa0
push eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4667ab
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.0041bf80
jmp 0x4667cf
push 0
lea ecx, [ebp - 0x60]
call fcn.0041bfa0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403290
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.0041bf80
jmp 0x4666ef
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.0041bf80
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x48de64
lea ecx, [ebp - 0x2c]
call fcn.004032b0
test eax, eax
je 0x4669b5
push 0x3b8
call fcn.00402530
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x120], 0
je 0x46682c
push 0
mov ecx, dword [ebp - 0x120]
call fcn.004710d0
mov dword [ebp - 0x168], eax
jmp 0x466836
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x11c]
mov dword [ecx + 0x2038], edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x164]
mov ecx, dword [ecx + 0x2038]
call fcn.004711b0
mov dword [ebp - 0x16c], eax
push 0x48de6c
mov edx, dword [ebp - 0x16c]
push edx
call fcn.00424380
add esp, 8
mov byte [ebp - 0x121], al
lea ecx, [ebp - 0x128]
call fcn.00413390
movzx eax, byte [ebp - 0x121]
test eax, eax
je 0x4669b5
mov ecx, dword [ebp - 0x164]
mov ecx, dword [ecx + 0x2038]
call fcn.004027c0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4669b5
mov edx, dword [ebp - 0x164]
push edx
push 0x91
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x2038]
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x2038]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x134]
call eax
lea ecx, [ebp - 0x88]
call fcn.0041d360
lea ecx, [ebp - 0x88]
call fcn.0041d360
push eax
mov ecx, dword [ebp - 0x164]
mov ecx, dword [ecx + 0x2038]
call fcn.004027a0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x78], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x70]
call fcn.0041d360
push 0
lea edx, [ebp - 0x70]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [ebp - 0x88]
call fcn.00401ae0
mov ecx, dword [ebp - 0x64]
sub ecx, eax
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x7c], edx
lea ecx, [ebp - 0x88]
call fcn.00401ac0
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
push 1
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x164]
mov ecx, dword [ecx + 0x2038]
call fcn.00402c40
push 5
mov edx, dword [ebp - 0x164]
mov ecx, dword [edx + 0x2038]
call fcn.0042ead3
lea eax, [ebp - 0x12c]
push eax
mov ecx, 0x4bf380
call fcn.004675f0
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x174]
push edx
lea ecx, [ebp - 0x30]
call fcn.00401f50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00413390
lea ecx, [ebp - 0x30]
call fcn.00402000
movzx eax, al
test eax, eax
jne 0x466bc4
call fcn.0045f6b0
movzx ecx, al
test ecx, ecx
je 0x466b1d
push 0x5c
lea ecx, [ebp - 0x30]
call fcn.00405c20
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
add edx, 1
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00405c70
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0x48d248
call fcn.00403210
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00401f30
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
push 0x48de70
lea edx, [ebp - 0x8c]
push edx
push ecx
call fcn.00424ca0
add esp, 0xc
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push 0x48de7c
lea edx, [ebp - 0x8c]
push edx
push ecx
call fcn.00424ca0
add esp, 0xc
mov dword [ebp - 0x190], eax
mov eax, dword [0x4bf458]
mov edx, dword [eax]
mov byte [ebp - 4], 7
mov ecx, dword [0x4bf458]
mov eax, dword [edx + 0x68]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00413390
jmp 0x466bc4
push 0x48d238
lea ecx, [ebp - 0x98]
call fcn.00403210
mov byte [ebp - 4], 0xb
push 0x48de88
lea ecx, [ebp - 0x98]
call fcn.00405670
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x94]
push ecx
push 0xf003f
push 0
push 0x48ddcc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x466bb5
lea ecx, [ebp - 0x30]
call fcn.00412ea0
add eax, 1
push eax
lea ecx, [ebp - 0x30]
call fcn.00412ea0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fe0
push eax
push 1
push 0
lea ecx, [ebp - 0x98]
call fcn.0040aa10
push eax
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x94]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.00413390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00413390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413390
mov ecx, 0x4bf380
call fcn.00467090
neg eax
sbb eax, eax
and eax, 0
add eax, 0xc9
push eax
mov ecx, dword [ebp - 0x164]
call fcn.00479a90
push 0xff00ff
mov ecx, dword [ebp - 0x164]
call fcn.00479870
push 1
mov ecx, dword [ebp - 0x164]
call fcn.004015a0
push 1
mov ecx, dword [ebp - 0x164]
call fcn.004015c0
mov ecx, dword [ebp - 0x164]
call fcn.00465c60
mov ecx, 0x4bf380
call fcn.00467090
test eax, eax
jne 0x466c56
push 0x48d248
mov ecx, dword [ebp - 0x164]
call fcn.0042ea39
jmp 0x466c66
push 0x48d248
mov ecx, dword [ebp - 0x164]
call fcn.0042ea39
push 0
push 0x1388
push 1
mov ecx, dword [ebp - 0x164]
call fcn.00401e30
mov ecx, 0x4bf380
call fcn.00467090
test eax, eax
jne 0x466cbb
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x17d0
call fcn.0042ead3
push 0
mov ecx, dword [ebp - 0x164]
add ecx, 0x2048
call fcn.0042ead3
mov ecx, dword [ebp - 0x164]
call fcn.00465940
jmp 0x466cec
push 5
mov ecx, dword [ebp - 0x164]
add ecx, 0x17d0
call fcn.0042ead3
push 5
mov ecx, dword [ebp - 0x164]
add ecx, 0x2048
call fcn.0042ead3
mov ecx, dword [ebp - 0x164]
call fcn.00465940
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x334
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, 0x226
cdq
sub eax, edx
sar eax, 1
sub eax, 0x1e
mov dword [ebp - 0x1c], eax
push 0
push 0x226
push 0x334
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x4be410
mov ecx, dword [ebp - 0x164]
call fcn.0042ece2
push 0x48d248
lea ecx, [ebp - 0x20]
call fcn.00403210
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x164]
mov dword [eax + 0xa0], 0x1f8
mov ecx, dword [ebp - 0x164]
call fcn.004027c0
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xa4], eax
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xa8], 0x1b6d
mov eax, dword [ebp - 0x164]
mov dword [eax + 0xac], 3
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xb0], 0x438
mov edx, dword [ebp - 0x164]
mov dword [edx + 0xac], 7
push 0x1b6d
call fcn.00401b40
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [ebp - 0x164]
mov dword [ecx + 0xb4], eax
push 0x80
lea ecx, [ebp - 0x20]
call fcn.0040aa10
push eax
mov edx, dword [ebp - 0x164]
add edx, 0xb8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x164]
add eax, 0xa0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0xd7
mov ecx, dword [ebp - 0x164]
add ecx, 0x98
call fcn.00424f50
mov edx, dword [0x4bf458]
mov eax, dword [edx]
mov ecx, dword [0x4bf458]
mov edx, dword [eax + 0x48]
call edx
mov eax, dword [0x4bf458]
mov edx, dword [eax]
mov ecx, dword [0x4bf458]
mov eax, dword [edx + 0x40]
call eax
mov ecx, dword [ebp - 0x164]
push ecx
mov ecx, dword [ebp - 0x164]
add ecx, 0x298
call fcn.00461090
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xe2
mov ecx, dword [ebp - 0x164]
add ecx, 0x298
call fcn.004609f0
push 1
push 1
push 0x78
push str.Arial
mov ecx, dword [ebp - 0x164]
add ecx, 0x298
call fcn.00460150
push 0
push 0xffffff
mov ecx, dword [ebp - 0x164]
add ecx, 0x298
call fcn.00460ad0
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x334]
add eax, 0xf
push eax
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx + 0x330]
sub edx, 0xa
push edx
push 0x50
push 0xa
lea ecx, [ebp - 0x15c]
call fcn.00401a80
mov ecx, dword [eax]
mov dword [ebp - 0x14c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x148], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x144], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x140], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x148]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x144]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x164]
add ecx, 0x298
call fcn.00460130
call fcn.00468930
movzx eax, al
test eax, eax
jne 0x466f78
push 0
lea ecx, [ebp - 0x114]
call fcn.0046b0c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x114]
call fcn.00428324
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x114]
call fcn.0046b0a0
mov dword [ebp - 0x160], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00413390
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret