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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4124
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 4], 2
mov ecx, 0x534274
call fcn.004c63e1
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00407e90
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00407e90
mov byte [ebp - 4], 4
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x94]
call fcn.00407e90
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.0040fec0
mov ecx, eax
call fcn.00405da0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40e3d9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.004054c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004054c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.004054c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004054c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004054c0
jmp 0x40e8dc
push str._Authors
push 0x4f9df4
lea ecx, [ebp - 0x54]
call fcn.004079c0
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.00408850
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.004087b0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.004082a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x54]
call fcn.004082a0
lea ecx, [ebp - 0x30]
call fcn.00409f90
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x30]
call fcn.004086f0
push eax
push 1
push 0
push str.ApplicationCompany
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4f9e40
lea ecx, [ebp - 0x2c]
call fcn.004079c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00409f90
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004086f0
push eax
push 1
push 0
push 0x4f9e4c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp + 8]
call fcn.00405da0
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 0x40e4b9
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.00405da0
push eax
push 1
push 0
push 0x4f9e7c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4f9e9c
lea ecx, [ebp - 0x28]
call fcn.004079c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.00409f90
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004086f0
push eax
push 1
push 0
push 0x4f9eb4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.TSBrowser
lea ecx, [ebp - 0x24]
call fcn.004079c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.00409f90
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x24]
call fcn.004086f0
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 0x4f9f08
lea ecx, [ebp - 0xac]
call fcn.0040fec0
mov ecx, eax
call fcn.00405da0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40e63f
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.004082a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004082a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004082a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004082a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.004054c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004054c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.004054c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004054c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004054c0
jmp 0x40e8dc
lea ecx, [ebp + 8]
call fcn.00405da0
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 0x40e653
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.00405da0
push eax
push 1
push 0
push 0x4f9f24
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.0040fec0
mov ecx, eax
call fcn.00405da0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40e765
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.004082a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004082a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004082a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004082a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.004054c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004054c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.004054c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004054c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004054c0
jmp 0x40e8dc
push str.___single_argument__1
push 0x4f9f7c
lea ecx, [ebp + 0x38]
push ecx
push 0x4f9f80
lea edx, [ebp - 0x10c]
push edx
call fcn.00406190
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.00406150
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.00406150
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf4]
call fcn.004054c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10c]
call fcn.004054c0
lea ecx, [ebp - 0xdc]
call fcn.00405da0
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 0x40e7fc
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.00405da0
push eax
push 1
push 0
push 0x4f9f84
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.004054c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.004082a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004082a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004082a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004082a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.004054c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004054c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.004054c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004054c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004054c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret