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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1374
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 4], 2
mov ecx, 0x51719f
call fcn.004bd4ad
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00406d00
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00406d00
mov byte [ebp - 4], 4
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x94]
call fcn.00406d00
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.0040f110
mov ecx, eax
call fcn.00405230
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40d909
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404980
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404980
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404980
jmp 0x40de0c
push str._Authors
push 0x4e795c
lea ecx, [ebp - 0x54]
call fcn.00406860
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.004076c0
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.00407620
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.00407110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x54]
call fcn.00407110
lea ecx, [ebp - 0x30]
call fcn.00409530
lea edx, [eax + eax + 2]
push edx
lea ecx, [ebp - 0x30]
call fcn.00407560
push eax
push 1
push 0
push str.ApplicationCompany
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4e79a8
lea ecx, [ebp - 0x2c]
call fcn.00406860
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00409530
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407560
push eax
push 1
push 0
push 0x4e79b4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp + 8]
call fcn.00405230
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 0x40d9e9
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.00405230
push eax
push 1
push 0
push 0x4e79e4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4e7a04
lea ecx, [ebp - 0x28]
call fcn.00406860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
call fcn.00409530
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407560
push eax
push 1
push 0
push 0x4e7a1c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.TSBrowser
lea ecx, [ebp - 0x24]
call fcn.00406860
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x24]
call fcn.00409530
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x24]
call fcn.00407560
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 0x4e7a70
lea ecx, [ebp - 0xac]
call fcn.0040f110
mov ecx, eax
call fcn.00405230
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40db6f
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00407110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404980
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404980
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404980
jmp 0x40de0c
lea ecx, [ebp + 8]
call fcn.00405230
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 0x40db83
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.00405230
push eax
push 1
push 0
push 0x4e7a8c
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.0040f110
mov ecx, eax
call fcn.00405230
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40dc95
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00407110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404980
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404980
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404980
jmp 0x40de0c
push str.___single_argument__1
push 0x4e7ae4
lea ecx, [ebp + 0x38]
push ecx
push 0x4e7ae8
lea edx, [ebp - 0x10c]
push edx
call fcn.00405580
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.00405540
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.00405540
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf4]
call fcn.00404980
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10c]
call fcn.00404980
lea ecx, [ebp - 0xdc]
call fcn.00405230
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 0x40dd2c
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.00405230
push eax
push 1
push 0
push 0x4e7aec
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.00404980
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00407110
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00407110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x94]
call fcn.00404980
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00404980
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00404980
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00404980
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00404980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret