Function at 0x42ccf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdfe1
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x664340]
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
mov esi, ecx
call fcn.00418eb0
mov ecx, eax
test ecx, ecx
je 0x42cd3a
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x42d145
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, dword [0x6692fc]
test eax, eax
jne 0x42cda6
push 0x15c
call fcn.0044a2e5
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42cd9b
mov ecx, eax
call fcn.004393b0
jmp 0x42cd9d
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x6692fc], eax
mov ecx, eax
call fcn.0044f059
mov edx, eax
mov dword [ebp - 0x280], 0
mov ecx, edx
mov dword [ebp - 0x27c], 7
xor eax, eax
mov word [ebp - 0x290], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cdd1
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.00403240
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
jb 0x42cdfd
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
lea ecx, [ebp - 0x290]
call fcn.004058f0
push 6
xor eax, eax
mov dword [ebp - 0x268], 0
push str.CLSID_
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00403240
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.004058f0
push 0x17
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x230]
call fcn.00403240
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x298]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push 0xf013f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42ceb7
push dword [ebp - 0x298]
mov ecx, esi
call fcn.0042a6e0
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x42ceb7
push eax
call edi
push 6
push str.CLSID_
lea ecx, [ebp - 0x230]
call fcn.00403240
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x29c]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x42cf11
push dword [ebp - 0x29c]
mov ecx, esi
call fcn.0042a6e0
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x42cf11
push eax
call edi
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
call fcn.0046cf80
add esp, 0xc
lea ecx, [ebp - 0x248]
push 0x43
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
call fcn.00403240
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x294]
push ecx
push 0xf013f
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x42d042
push 0xb
push str.BKPDF_Shell
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403240
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x260]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x42cfe0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d000
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.F7C71435_3F18_4903_B387_446346CA44B8
push dword [ebp - 0x294]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x294]
call edi
lea ecx, [ebp - 0x260]
call fcn.00402fe0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42d086
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d07c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d161
push edx
push ecx
call fcn.0044a315
add esp, 8
mov ecx, esi
call fcn.0042c350
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x42d0cd
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d0c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d166
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42d109
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d0ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d16b
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42d145
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d13b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d170
push edx
push ecx
call fcn.0044a315
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.0044a851
mov esp, ebp
pop ebp
ret
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
int3