Function at 0x42d420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce661
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x667d00]
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.00419280
mov ecx, eax
test ecx, ecx
je 0x42d46a
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x42d875
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 [0x66937c]
test eax, eax
jne 0x42d4d6
push 0x15c
call fcn.0059ce1e
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42d4cb
mov ecx, eax
call fcn.00439760
jmp 0x42d4cd
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x66937c], eax
mov ecx, eax
call fcn.0043cd98
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 0x42d501
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.004032c0
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
jb 0x42d52d
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
lea ecx, [ebp - 0x290]
call fcn.00405ab0
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.004032c0
push 0x26
push str.F7C71435_3F18_4903_B387_446346CA44B8
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00405ab0
push 0x17
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x230]
call fcn.004032c0
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.WS2_32.dll_bind
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42d5e7
push dword [ebp - 0x298]
mov ecx, esi
call fcn.0042ae10
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x42d5e7
push eax
call edi
push 6
push str.CLSID_
lea ecx, [ebp - 0x230]
call fcn.004032c0
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 connect
call ebx
test eax, eax
jne 0x42d641
push dword [ebp - 0x29c]
mov ecx, esi
call fcn.0042ae10
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x42d641
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.005a26c0
add esp, 0xc
lea ecx, [ebp - 0x248]
push 0x43
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
call fcn.004032c0
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.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x42d772
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.004032c0
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 0x42d710
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d730
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.00403060
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42d7b6
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d7ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d891
push edx
push ecx
call fcn.0059ce4e
add esp, 8
mov ecx, esi
call fcn.0042ca80
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x42d7fd
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d7f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d896
push edx
push ecx
call fcn.0059ce4e
add esp, 8
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42d839
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d82f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d89b
push edx
push ecx
call fcn.0059ce4e
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42d875
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d86b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d8a0
push edx
push ecx
call fcn.0059ce4e
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
call fcn.005a5c79
call fcn.005a5c79
call fcn.005a5c79
int3