Function at 0x42ce10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce111
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x667ce0]
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.00418e60
mov ecx, eax
test ecx, ecx
je 0x42ce5a
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x42d265
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 [0x66931c]
test eax, eax
jne 0x42cec6
push 0x15c
call fcn.0059c99d
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42cebb
mov ecx, eax
call fcn.004394d0
jmp 0x42cebd
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x66931c], eax
mov ecx, eax
call fcn.0043c9f8
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 0x42cef1
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 0x42cf1d
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
lea ecx, [ebp - 0x290]
call fcn.00405a30
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.00405a30
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.WS2_32.dll_bind
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42cfd7
push dword [ebp - 0x298]
mov ecx, esi
call fcn.0042a800
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x42cfd7
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 connect
call ebx
test eax, eax
jne 0x42d031
push dword [ebp - 0x29c]
mov ecx, esi
call fcn.0042a800
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x42d031
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.005a2240
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.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x42d162
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 0x42d100
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d120
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 0x42d1a6
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d19c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d281
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov ecx, esi
call fcn.0042c470
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x42d1ed
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d1e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d286
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x42d229
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d21f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d28b
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42d265
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d25b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d290
push edx
push ecx
call fcn.0059c9cd
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.0059cf09
mov esp, ebp
pop ebp
ret
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
int3