Function at 0x48c040
Capabilities:
Delete registry key
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5908
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4fa7e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5c
push dword [ebp + 0x10]
mov dword [ebp - 4], 3
call fcn.004b541f
mov esi, eax
add esp, 8
test esi, esi
jne 0x48c087
or esi, 0xffffffff
jmp 0x48c08a
sub esi, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0048af00
lea eax, [esi + 1]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x10]
call fcn.0048afd0
push str.Applications_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], 0
call fcn.004861f0
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
push dword [esi - 0xc]
push esi
call fcn.00486e20
push 0x13
push str._shellopencommand
lea ecx, [ebp - 0x14]
call fcn.00486e20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x4eef3c
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.004861f0
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 7
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00486e20
push 6
push str.____1_
lea ecx, [ebp - 0x18]
call fcn.00486e20
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test edi, edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
je 0x48c14d
test ecx, ecx
je 0x48c170
mov eax, dword [ebp - 0x18]
or dword [edi], 1
push dword [eax - 0xc]
push eax
push 1
push 0
push 0
push ecx
call ebx
test eax, eax
jne 0x48c167
or dword [edi], 2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00486ab0
push 0x1d
push str._auto_file_shellopencommand
lea ecx, [ebp - 0x14]
call fcn.00486e20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c1d7
mov eax, dword [ebp - 0x18]
or dword [edi], 4
push dword [eax - 0xc]
push eax
push 1
push 0
push 0
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x48c1ce
or dword [edi], 8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2c
push str.MIMEDatabaseContent_Type_application_ezrun
lea ecx, [ebp - 0x14]
call fcn.00487e40
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
or ebx, 0xffffffff
test eax, eax
jne 0x48c28a
push str.Extension
lea ecx, [ebp - 0x28]
call fcn.004861f0
push str..ezxml
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.004861f0
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c26a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c28a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1e
push str.SoftwareClassesApplications_
lea ecx, [ebp - 0x14]
call fcn.00487e40
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.00486e20
push 0x13
push str._shellopencommand
lea ecx, [ebp - 0x14]
call fcn.00486e20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c304
mov eax, dword [ebp - 0x18]
or dword [edi], 0x10
push dword [eax - 0xc]
push eax
push 1
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c2fb
or dword [edi], 0x20
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x11
push str.SoftwareClasses_
lea ecx, [ebp - 0x14]
call fcn.00487e40
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00486e20
push 0x1d
push str._auto_file_shellopencommand
lea ecx, [ebp - 0x14]
call fcn.00486e20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c384
mov eax, dword [ebp - 0x18]
or dword [edi], 0x40
push dword [eax - 0xc]
push eax
push 1
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c37b
or dword [edi], 0x80
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3d
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.
lea ecx, [ebp - 0x14]
call fcn.00487e40
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00486e20
push 0xd
push str.OpenWithList
lea ecx, [ebp - 0x14]
call fcn.00486e20
push 0x4da5fc
lea ecx, [ebp - 0x1c]
call fcn.004861f0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x18]
call fcn.00486ab0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c464
mov eax, dword [ebp - 0x18]
or dword [edi], 0x100
push dword [eax - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c41c
or dword [edi], 0x200
push 7
push str.MRUList
lea ecx, [ebp - 0x1c]
call fcn.00487e40
push 1
push 0x4da5fc
lea ecx, [ebp - 0x18]
call fcn.00487e40
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c45b
or dword [edi], 0x400
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3d
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.
lea ecx, [ebp - 0x14]
call fcn.00487e40
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00486e20
push 0x10
push str.OpenWithProgids
lea ecx, [ebp - 0x14]
call fcn.00486e20
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00486ab0
push 0xa
push str._auto_file
lea ecx, [ebp - 0x1c]
call fcn.00486e20
lea ecx, [ebp - 0x18]
call fcn.004874d0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c50b
mov eax, dword [ebp - 0x18]
or dword [edi], 0x800
push dword [eax - 0xc]
push eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c502
or dword [edi], 0x1000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x3d
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.
lea ecx, [ebp - 0x14]
call fcn.00487e40
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00486e20
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x14]
call fcn.00486e20
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x48c565
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [edi], 0x6000
lea ecx, [ebp - 0x14]
push 0x12
push str.SoftwareClasses.
call fcn.00487e40
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.00486e20
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00486ab0
push 0xa
push str._auto_file
lea ecx, [ebp - 0x18]
call fcn.00486e20
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c5fa
mov eax, dword [ebp - 0x18]
or dword [edi], 0x8000
push dword [eax - 0xc]
push eax
push 1
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c5f1
or dword [edi], 0x10000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x66
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyDCC85D99_FCFB_4223_B995_EE5F09528466
lea ecx, [ebp - 0x14]
call fcn.00487e40
push 7
push str.AppPath
lea ecx, [ebp - 0x1c]
call fcn.00487e40
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00486ab0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c6f1
mov eax, dword [ebp - 0x18]
or dword [edi], 0x20000
push dword [eax - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c676
or dword [edi], 0x40000
push 7
push str.AppName
lea ecx, [ebp - 0x1c]
call fcn.00487e40
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00486ab0
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c6b2
or dword [edi], 0x80000
push 6
push str.Policy
lea ecx, [ebp - 0x1c]
call fcn.00487e40
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 3
push eax
push 4
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c6e8
or dword [edi], 0x100000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x59
push str.SoftwareMicrosoftWindowsShellAttachmentExecute0002DF01_0000_0000_C000_000000000046
lea ecx, [ebp - 0x14]
call fcn.00487e40
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00486ab0
push 0xa
push str._auto_file
lea ecx, [ebp - 0x1c]
call fcn.00486e20
lea ecx, [ebp - 0x18]
call fcn.004874d0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48c7fe
mov eax, dword [ebp - 0x18]
or dword [edi], 0x200000
push dword [eax - 0xc]
push eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c775
or dword [edi], 0x400000
push 0x2e
push esi
call fcn.004b541f
add esp, 8
test eax, eax
jne 0x48c789
or eax, 0xffffffff
jmp 0x48c78b
sub eax, esi
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0048af00
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00486ab0
mov edx, dword [ebp + 8]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c7c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 7
push str..Edit.1
lea ecx, [ebp - 0x1c]
call fcn.00486e20
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
push 0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c7f5
or dword [edi], 0x800000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [edi], 0xc000000
call fcn.0049a190
cmp eax, 2
jge 0x48c819
or dword [edi], 0x3000000
jmp 0x48c920
push 0x4e
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsAccepted_Documents
lea ecx, [ebp - 0x14]
call fcn.00487e40
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x3d
push dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
call fcn.004b541f
add esp, 8
test eax, eax
je 0x48c920
sub eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x48c920
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0x14]
call fcn.0048af00
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00486ab0
mov edx, dword [ebp + 8]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c8ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp + 0x14]
inc eax
push eax
lea eax, [ebp + 8]
push eax
call fcn.0048afd0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00486ab0
mov edx, dword [ebp + 8]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c8ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0
jne 0x48c920
mov eax, dword [ebp - 0x18]
or dword [edi], 0x1000000
push dword [eax - 0xc]
push eax
push 1
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x48c917
or dword [edi], 0x2000000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c940
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c960
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c980
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c99d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c9bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c9dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c9fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ca1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x48ca3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14