Function at 0x4d1741
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x572104
call fcn.00524444
sub esp, 0x2dc
mov eax, dword [0x61d784]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
mov esi, 0x622c94
push eax
push 0x2001f
push ebx
push esi
push bind
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d179c
push ebx
push ebx
push str.Registry_Read_Error
call fcn.0054ed65
xor esi, esi
jmp 0x4d208c
mov eax, dword [0x61d784]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
push str.UltraEdit
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0053ecd8
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0053ef2b
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
push eax
call fcn.0053ec88
push eax
lea ecx, [ebp - 0x38]
call fcn.0053ec88
push eax
lea ecx, [ebp - 0x2c]
call fcn.0053ec88
push eax
lea ecx, [ebp - 0x30]
call fcn.0053ec88
push eax
lea ecx, [ebp - 0x3c]
call fcn.0053ec88
push eax
lea ecx, [ebp - 0x48]
call fcn.0053ec88
push str._shellopencommand
lea ecx, [ebp - 0x3c]
call fcn.0053ef2b
push str._shellprintcommand
lea ecx, [ebp - 0x48]
call fcn.0053ef2b
push str._shellopenddeexec
lea ecx, [ebp - 0x30]
call fcn.0053ef2b
push str._shellprintddeexec
lea ecx, [ebp - 0x2c]
call fcn.0053ef2b
push str.DefaultIcon
lea ecx, [ebp - 0x38]
call fcn.0053ef2b
push str._shellDefaultIcon
lea ecx, [ebp - 0x44]
call fcn.0053ef2b
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4d188a
xor esi, esi
jmp 0x4d2028
call fcn.0055c7c5
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x220]
push 0x104
push ecx
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.____1_
lea ecx, [ebp - 0x14]
call fcn.0053ebbd
mov dword [ebp - 0x40], eax
push 0x5b85bc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0053ebbd
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0053ede4
push dword [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0053ed7e
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0053ec88
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.0053eb4f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.0053eb4f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0053eb4f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0053eb4f
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d1965
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
xor esi, esi
jmp 0x4d202d
push dword [ebp - 0x10]
call edi
cmp dword [0x62ade4], ebx
je 0x4d1a26
push 0x5c9318
lea ecx, [ebp - 0x14]
call fcn.0053ebbd
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xd
call fcn.0053ee58
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.0053eb4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4d19db
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0053eb4f
jmp 0x4d1f77
push dword [ebp - 0x44]
push dword [ebp - 0x18]
call fcn.004d259d
mov eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
add esp, 0xc
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d1a15
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x10]
jmp 0x4d19c8
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0053eb4f
cmp dword [0x5c90b0], ebx
je 0x4d1ba4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
push str._open___1___
lea ecx, [ebp - 0x1c]
call fcn.0053ecd8
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x30]
push 0x5c92f8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053ede4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0053eb4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
push str.UEDIT32
lea ecx, [ebp - 0x1c]
call fcn.0053ecd8
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x30]
push str._topic
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053ede4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0053eb4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
push 0x5bd410
lea ecx, [ebp - 0x1c]
call fcn.0053ecd8
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
jmp 0x4d1bb1
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call fcn.004d259d
pop ecx
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
call fcn.0055c7c5
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x220]
push 0x104
push ecx
push dword [eax + 0x68]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.___p___1_
lea ecx, [ebp - 0x40]
call fcn.0053ebbd
mov dword [ebp - 0x14], eax
push 0x5b85bc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.0053ebbd
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0053ede4
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0053ed7e
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.0053ec88
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x14
call fcn.0053eb4f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.0053eb4f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.0053eb4f
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.0053eb4f
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
cmp dword [0x5c90b0], ebx
je 0x4d1e21
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
push str._print___1___
lea ecx, [ebp - 0x1c]
call fcn.0053ecd8
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x2c]
push 0x5c92f8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053ede4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x16
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0053eb4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
push str.UEDIT32
lea ecx, [ebp - 0x1c]
call fcn.0053ecd8
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x2c]
push str._topic
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0053ede4
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x17
call fcn.0053ec88
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0053eb4f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
push 0x5bd410
lea ecx, [ebp - 0x1c]
call fcn.0053ecd8
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4d2011
push dword [ebp - 0x10]
call edi
jmp 0x4d1e2e
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
call fcn.004d259d
pop ecx
pop ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push eax
push 0xf003f
push ebx
push dword [ebp - 0x28]
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d1e54
xor esi, esi
jmp 0x4d2023
push dword [ebp + 0xc]
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d1e80
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x34]
jmp 0x4d2019
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push esi
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4d1883
cmp dword [ebp - 0x24], 1
je 0x4d1fee
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0xc8
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push esi
mov byte [ebp - 0x11c], bl
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x11c]
push str.UltraEdit
push eax
call fcn.00527150
pop ecx
test eax, eax
pop ecx
je 0x4d1f39
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0xc8
push eax
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push str.Old_Default
mov byte [ebp - 0x2e8], bl
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4d1fe9
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x28]
call fcn.00526f30
pop ecx
test eax, eax
pop ecx
je 0x4d1fe9
lea eax, [ebp - 0x11c]
push eax
call fcn.00525390
pop ecx
inc eax
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
push ebx
push str.Old_Default
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d1fe9
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x34]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0053eb4f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0053eb4f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0053eb4f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0053eb4f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0053eb4f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0053eb4f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0053eb4f
xor eax, eax
jmp 0x4d209a
push dword [ebp - 0x34]
call edi
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x14], eax
call fcn.00525390
pop ecx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4d2020
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x10]
call edi
jmp 0x4d195e
push 1
pop esi
push dword [ebp - 0x10]
call edi
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0053eb4f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0053eb4f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0053eb4f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0053eb4f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0053eb4f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0053eb4f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0053eb4f
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8