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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f1c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 4], 2
mov ecx, 0x4d5279
call fcn.0047b83a
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00406c80
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00406c80
mov byte [ebp - 4], 4
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x94]
call fcn.00406c80
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Application
lea ecx, [ebp - 0xc4]
call fcn.0040f570
mov ecx, eax
call fcn.00405110
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40dd69
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404860
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404860
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404860
jmp 0x40e26c
push str._Authors
push 0x4a5a98
lea ecx, [ebp - 0x54]
call fcn.004067e0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x44]
push eax
push str.The
lea ecx, [ebp - 0x50]
push ecx
call fcn.00407640
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004075a0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.00407090
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x54]
call fcn.00407090
lea ecx, [ebp - 0x30]
call fcn.004094b0
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x30]
call fcn.004074e0
push eax
push 1
push 0
push str.ApplicationCompany
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4a5ae4
lea ecx, [ebp - 0x2c]
call fcn.004067e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.004094b0
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004074e0
push eax
push 1
push 0
push 0x4a5af0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp + 8]
call fcn.00405110
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x32], dx
add dword [ebp - 0x14], 2
cmp word [ebp - 0x32], 0
jne 0x40de49
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x58]
sar eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
lea edx, [ecx + ecx + 2]
push edx
lea ecx, [ebp + 8]
call fcn.00405110
push eax
push 1
push 0
push 0x4a5b20
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4a5b40
lea ecx, [ebp - 0x28]
call fcn.004067e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.004094b0
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004074e0
push eax
push 1
push 0
push 0x4a5b58
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.TSBrowser
lea ecx, [ebp - 0x24]
call fcn.004067e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.004094b0
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x24]
call fcn.004074e0
push eax
push 1
push 0
push str.AppUserModelId
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4a5bac
lea ecx, [ebp - 0xac]
call fcn.0040f570
mov ecx, eax
call fcn.00405110
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40dfcf
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00407090
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00407090
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407090
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404860
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404860
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404860
jmp 0x40e26c
lea ecx, [ebp + 8]
call fcn.00405110
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx]
mov word [ebp - 0x34], ax
add dword [ebp - 0x18], 2
cmp word [ebp - 0x34], 0
jne 0x40dfe3
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x60]
sar ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
lea eax, [edx + edx + 2]
push eax
lea ecx, [ebp + 8]
call fcn.00405110
push eax
push 1
push 0
push 0x4a5bc8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str._shellopencommand
lea ecx, [ebp - 0x94]
call fcn.0040f570
mov ecx, eax
call fcn.00405110
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40e0f5
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00407090
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00407090
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407090
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404860
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404860
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404860
jmp 0x40e26c
push str.___single_argument__1
push 0x4a5c20
lea ecx, [ebp + 0x38]
push ecx
push 0x4a5c24
lea edx, [ebp - 0x10c]
push edx
call fcn.00405500
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.004054c0
add esp, 0xc
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.004054c0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf4]
call fcn.00404860
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10c]
call fcn.00404860
lea ecx, [ebp - 0xdc]
call fcn.00405110
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x20]
mov dx, word [ecx]
mov word [ebp - 0x36], dx
add dword [ebp - 0x20], 2
cmp word [ebp - 0x36], 0
jne 0x40e18c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x78]
sar eax, 1
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
lea edx, [ecx + ecx + 2]
push edx
lea ecx, [ebp - 0xdc]
call fcn.00405110
push eax
push 1
push 0
push 0x4a5c28
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xdc]
call fcn.00404860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00407090
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00407090
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407090
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404860
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404860
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404860
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret