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

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x50e50d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x569080]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1c]
push 0x5378f4
push str.SoftwareClasses_s_shellopencommand
push eax
call fcn.00408fe0
add esp, 0xc
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x40], SysStringLen
call fcn.00409df0
lea eax, [ebp - 0x3c]
push eax
push 0x20019
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 4
or ebx, 0xffffffff
cmp dword [ebp - 0x3c], 0
jne 0x4662fe
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x44]
push 0x5378f4
push str.SoftwareClasses_s
push eax
call fcn.00408fe0
add esp, 0xc
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], SysStringLen
call fcn.00409df0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push 0x5378f4
push str.URL:_s
push eax
call fcn.00402910
add esp, 0xc
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xc
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
mov eax, 0x530654
shr eax, 0x10
mov ecx, 0x530654
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x465f22
movzx eax, cx
lea ecx, [ebp - 0x10]
push eax
call fcn.004043d0
jmp 0x465f31
push 0
push 0x530654
lea ecx, [ebp - 0x10]
call fcn.00403870
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
test edx, edx
je 0x465f57
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0xc
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x465f7e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xb
mov eax, ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x465fa8
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x48], 0
jne 0x465feb
mov eax, 0x530654
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x465ff7
push 0
push 0x530654
call fcn.00403870
mov byte [ebp - 4], 0x13
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x14
mov eax, str.URL_Protocol
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x46603f
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x46604b
push 0xc
push str.URL_Protocol
call fcn.00403870
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
test ecx, ecx
je 0x46606f
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0x13
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x466099
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x525578]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov byte [ebp - 4], 0xb
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4660c0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
push 0x104
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], eax
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], SysStringLen
call fcn.00409df0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [ebp - 4], 0x1a
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1c
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push str._s___1
push eax
call fcn.00408fe0
add esp, 0xc
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x466392
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x48], 0
jne 0x4661c7
mov eax, 0x530654
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x4661d3
push 0
push 0x530654
call fcn.00403870
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
test ecx, ecx
je 0x4661f7
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0x1c
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x466221
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x525578]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov byte [ebp - 4], 0x1a
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x466248
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x46625a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46628e
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4662a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
mov eax, ebx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4662d4
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4662fe
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x466310
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x466344
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46636f
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004d3ce9
lea esp, [ebp + 0x20c]
pop ebp
ret
push 0x80004005
call fcn.004027d0
int3