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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533de2
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x57b300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x270], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], ecx
je 0x428ab5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x264]
push eax
push esi
push SysReAllocStringLen
call ebx
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4285c3
sub ecx, edx
lea eax, [ecx + 1]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 1
push 0x53e8c0
push dword [ebp - 0x264]
call edi
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push str._sDefaultIcon
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00416b80
add esp, 0x10
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x114]
push eax
push SysReAllocStringLen
call ebx
mov edx, dword [ebp - 0x268]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x268], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428632
sub ecx, dword [ebp - 0x268]
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0x53e8c0
push dword [ebp - 0x264]
call edi
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push str._sShell
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00416b80
add esp, 0x10
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x114]
push eax
push SysReAllocStringLen
call ebx
push 5
push str.Open
push 1
push 0x53e8c0
push dword [ebp - 0x264]
call edi
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push str._sShellOpenCommand
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00416b80
add esp, 0x10
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x114]
push eax
push SysReAllocStringLen
call ebx
push dword [ebp - 0x270]
lea eax, [ebp - 0x114]
push str._s____1__
push 0x104
push eax
call fcn.00416b80
lea ecx, [ebp - 0x114]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428707
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push 1
push 0x53e8c0
push dword [ebp - 0x264]
call edi
push dword [ebp - 0x264]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x26c]
lea eax, [ebp - 0x114]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
push 0x104
push eax
call fcn.00416b80
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x250], 0
add esp, 0x10
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428780
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00404d10
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, esp
lea ecx, [ebp - 0x260]
push 0x3a8
push ecx
push eax
call fcn.00429a60
add esp, 0xc
push SysReAllocStringLen
call fcn.00418390
add esp, 0x1c
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x114]
push eax
push SysReAllocStringLen
call ebx
mov ecx, esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428800
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00404d10
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428840
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00404d10
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x26c], esp
lea ecx, [ebp - 0x230]
push 0x3a8
push ecx
push eax
call fcn.00429a60
sub esp, 0xc
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x268], esp
xor eax, eax
push 6
push str.ProgId
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00416d80
sub esp, 0x18
mov byte [ebp - 4], 4
mov eax, esp
lea ecx, [ebp - 0x248]
push 0x3a8
push ecx
push eax
call fcn.00429a60
add esp, 0xc
mov byte [ebp - 4], 2
push SysReAllocStringLen
call fcn.00417e20
mov edx, dword [ebp - 0x234]
add esp, 0x4c
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x428918
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42890e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b8f
push edx
push ecx
call fcn.00461701
add esp, 8
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x428971
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b8f
push edx
push ecx
call fcn.00461701
add esp, 8
push dword [ebp - 0x264]
call edi
mov ebx, dword [ebp - 0x270]
mov ecx, ebx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4289a0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.00404d10
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x274], esp
xor eax, eax
push 5
push 0x5401b4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00416d80
sub esp, 0x18
mov byte [ebp - 4], 6
mov eax, esp
mov dword [ebp - 0x26c], esp
lea ecx, [ebp - 0x230]
push 0x3a8
push ecx
push eax
call fcn.00429a60
sub esp, 0xc
mov byte [ebp - 4], 7
mov ecx, esp
xor eax, eax
push 0x38
push str.Local_SettingsSoftwareMicrosoftWindowsShellMuiCache
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00416d80
push SysReAllocStringLen
mov byte [ebp - 4], 5
call fcn.00417e20
mov edx, dword [ebp - 0x21c]
add esp, 0x4c
cmp edx, 0x10
jb 0x428a78
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428a6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b94
push edx
push ecx
call fcn.00461701
add esp, 8
mov edx, dword [ebp - 0x24c]
cmp edx, 0x10
jb 0x428b73
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428b69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b99
jmp 0x428b69
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00416b80
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
add esp, 0x10
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x428af3
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00404d10
sub esp, 0x18
mov dword [ebp - 4], 8
mov eax, esp
lea ecx, [ebp - 0x230]
push 0x3a8
push ecx
push eax
call fcn.00429a60
add esp, 0xc
push SysReAllocStringLen
call fcn.00418390
mov edx, dword [ebp - 0x21c]
add esp, 0x1c
cmp edx, 0x10
jb 0x428b73
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428b69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b9e
push edx
push ecx
call fcn.00461701
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046170f
mov esp, ebp
pop ebp
ret
call fcn.004f6f4a
call fcn.004f6f4a
call fcn.004f6f4a
call fcn.004f6f4a
int3