Function at 0x42c470
Capabilities:
Persist via contextmenuhandlers registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce09e
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005a2240
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005a2240
add esp, 0x18
mov dword [ebp - 0x678], 0
xor eax, eax
mov dword [ebp - 0x674], 7
lea ecx, [ebp - 0x688]
mov word [ebp - 0x688], ax
push 0xb
push 0x5d4e0c
call fcn.00403240
push 0x5d4e0c
push str._shellexContextMenuHandlers_
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0x5d82b8
push eax
call fcn.00405d80
cmp dword [ebp - 0x674], 8
lea eax, [ebp - 0x688]
cmovae eax, dword [ebp - 0x688]
push eax
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x628]
push 0x5d82b8
push eax
call fcn.00405d80
add esp, 0x20
mov dword [ebp - 0x6b0], 0
mov dword [ebp - 0x6ac], 0
mov dword [ebp - 0x6a8], 0
push 1
xor eax, eax
mov byte [ebp - 4], 1
push 0x5d82fc
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
call fcn.00403240
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
push eax
push 0
lea ecx, [ebp - 0x6b0]
call fcn.00403b90
mov edx, dword [ebp - 0x644]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42c5f2
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c5e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdf3
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push 6
xor eax, eax
mov dword [ebp - 0x630], 0
push 0x5d8300
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.00403240
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov byte [ebp - 4], 3
cmp esi, edi
je 0x42c673
movups xmm0, xmmword [ebp - 0x640]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x640], ax
movq xmm0, qword [ebp - 0x630]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x6ac], edi
jmp 0x42c698
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403b90
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42c6d6
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c6cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdf8
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push 9
xor eax, eax
mov dword [ebp - 0x630], 0
push 0x5d8310
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.00403240
mov byte [ebp - 4], 4
cmp esi, edi
je 0x42c74b
movups xmm0, xmmword [ebp - 0x640]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x640], ax
movq xmm0, qword [ebp - 0x630]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x6ac], edi
jmp 0x42c770
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403b90
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42c7ae
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c7a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdfd
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x630], 0
push str.Drive
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.00403240
mov byte [ebp - 4], 5
cmp esi, edi
je 0x42c823
movups xmm0, xmmword [ebp - 0x640]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x640], ax
movq xmm0, qword [ebp - 0x630]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x6ac], edi
jmp 0x42c848
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403b90
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42c886
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c87c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ce02
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x630], 0
push str.lnkfile
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.00403240
mov byte [ebp - 4], 6
cmp esi, edi
je 0x42c8fb
movups xmm0, xmmword [ebp - 0x640]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x640], ax
movq xmm0, qword [ebp - 0x630]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x6ac], edi
jmp 0x42c91a
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403b90
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42c958
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c94e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ce07
push edx
push ecx
call fcn.0059c9cd
add esp, 8
xor eax, eax
mov dword [ebp - 0x690], 0
mov dword [ebp - 0x68c], 7
mov word [ebp - 0x6a0], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
push eax
call fcn.005a2240
mov esi, dword [ebp - 0x6b0]
add esp, 0xc
cmp esi, edi
je 0x42cdb7
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42c9aa
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x660], 0
xor eax, eax
mov dword [ebp - 0x65c], 7
mov word [ebp - 0x670], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x6a4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c9d2
sub ecx, dword [ebp - 0x6a4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x670]
call fcn.00403240
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ca00
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x670]
call fcn.00405a30
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42ca2c
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x630], 0
xor eax, eax
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x6a4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ca54
sub ecx, dword [ebp - 0x6a4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x640]
call fcn.00403240
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 9
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ca81
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00405a30
cmp dword [ebp - 0x65c], 8
lea ecx, [ebp - 0x6b4]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x670]
mov dword [ebp - 0x6b4], 0
cmovae eax, dword [ebp - 0x670]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42cbdb
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
call fcn.00403240
cmp dword [ebp - 0x644], 8
lea ecx, [ebp - 0x658]
mov eax, dword [ebp - 0x658]
lea edx, [ebp - 0x218]
cmovae ecx, eax
mov dword [ebp - 0x6a4], eax
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42cb40
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cb60
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x6b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x6b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x644]
cmp eax, 8
jb 0x42cbdb
mov edx, dword [ebp - 0x6a4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42cbd1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdf3
push ecx
push edx
call fcn.0059c9cd
add esp, 8
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x6b8]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x640]
mov dword [ebp - 0x6b8], 0
cmovae eax, dword [ebp - 0x640]
push 0
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42cd0b
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
call fcn.00403240
cmp dword [ebp - 0x644], 8
lea ecx, [ebp - 0x658]
mov eax, dword [ebp - 0x658]
lea edx, [ebp - 0x218]
cmovae ecx, eax
mov dword [ebp - 0x6a4], eax
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42cc70
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cc90
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x6b8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x6b8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x644]
cmp eax, 8
jb 0x42cd0b
mov edx, dword [ebp - 0x6a4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42cd01
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdf3
push ecx
push edx
call fcn.0059c9cd
add esp, 8
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x42cd4f
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cd45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdf3
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edx, dword [ebp - 0x65c]
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x42cdac
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cda2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42cdf3
push edx
push ecx
call fcn.0059c9cd
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x42c9a0
lea ecx, [ebp - 0x6a0]
call fcn.00402fe0
lea ecx, [ebp - 0x6b0]
call fcn.00403db0
lea ecx, [ebp - 0x688]
call fcn.00402fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
int3