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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce5ee
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x667d00]
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.005a26c0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005a26c0
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 0x5d4e18
call fcn.004032c0
push 0x5d4e18
push str._shellexContextMenuHandlers_
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0x5d82f0
push eax
call fcn.00405e00
cmp dword [ebp - 0x674], 8
lea eax, [ebp - 0x688]
cmovae eax, dword [ebp - 0x688]
push eax
push str._shellexDragDropHandlers_
lea eax, [ebp - 0x628]
push 0x5d82f0
push eax
call fcn.00405e00
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 0x5d8334
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
call fcn.004032c0
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
push eax
push 0
lea ecx, [ebp - 0x6b0]
call fcn.00403c10
mov edx, dword [ebp - 0x644]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42cc02
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cbf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d403
push edx
push ecx
call fcn.0059ce4e
add esp, 8
push 6
xor eax, eax
mov dword [ebp - 0x630], 0
push 0x5d8338
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.004032c0
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov byte [ebp - 4], 3
cmp esi, edi
je 0x42cc83
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 0x42cca8
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403c10
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42cce6
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ccdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d408
push edx
push ecx
call fcn.0059ce4e
add esp, 8
push 9
xor eax, eax
mov dword [ebp - 0x630], 0
push 0x5d8348
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.004032c0
mov byte [ebp - 4], 4
cmp esi, edi
je 0x42cd5b
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 0x42cd80
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403c10
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42cdbe
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cdb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d40d
push edx
push ecx
call fcn.0059ce4e
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.004032c0
mov byte [ebp - 4], 5
cmp esi, edi
je 0x42ce33
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 0x42ce58
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403c10
mov esi, dword [ebp - 0x6a8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42ce96
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ce8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d412
push edx
push ecx
call fcn.0059ce4e
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.004032c0
mov byte [ebp - 4], 6
cmp esi, edi
je 0x42cf0b
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 0x42cf2a
lea eax, [ebp - 0x640]
push eax
push edi
lea ecx, [ebp - 0x6b0]
call fcn.00403c10
mov edi, dword [ebp - 0x6ac]
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42cf68
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42cf5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d417
push edx
push ecx
call fcn.0059ce4e
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.005a26c0
mov esi, dword [ebp - 0x6b0]
add esp, 0xc
cmp esi, edi
je 0x42d3c7
nop dword [eax]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42cfba
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 0x42cfe2
sub ecx, dword [ebp - 0x6a4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x670]
call fcn.004032c0
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 0x42d010
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x670]
call fcn.00405ab0
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x42d03c
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 0x42d064
sub ecx, dword [ebp - 0x6a4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x640]
call fcn.004032c0
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 9
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d091
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00405ab0
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 0x42d1eb
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.004032c0
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 0x42d150
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d170
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
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 0x42d1eb
mov edx, dword [ebp - 0x6a4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42d1e1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d403
push ecx
push edx
call fcn.0059ce4e
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 0x42d31b
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.004032c0
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 0x42d280
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d2a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
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 0x42d31b
mov edx, dword [ebp - 0x6a4]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42d311
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d403
push ecx
push edx
call fcn.0059ce4e
add esp, 8
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x42d35f
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d355
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d403
push edx
push ecx
call fcn.0059ce4e
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 0x42d3bc
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d3b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d403
push edx
push ecx
call fcn.0059ce4e
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x42cfb0
lea ecx, [ebp - 0x6a0]
call fcn.00403060
lea ecx, [ebp - 0x6b0]
call fcn.00403e30
lea ecx, [ebp - 0x688]
call fcn.00403060
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
call fcn.005a5c79
call fcn.005a5c79
call fcn.005a5c79
call fcn.005a5c79
int3