Function at 0x42e640
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x304]
sub esp, 0x304
push 0xffffffffffffffff
push 0x6877e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x725fec]
xor eax, ebp
mov dword [ebp + 0x300], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xff
lea eax, [ebp + 0x200]
mov dword [ebp - 0x18], 0xff
push 0
push eax
mov dword [ebp - 0x1c], 1
call fcn.006440e0
push 0x1fe
lea eax, [ebp]
push 0
push eax
call fcn.006440e0
add esp, 0x18
call fcn.004fc414
mov ecx, eax
test ecx, ecx
je 0x42e89a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.SoftwarePunto_Switcher
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004325b0
push 1
push 0x6e3458
lea ecx, [ebp - 0x10]
call fcn.004327b0
push esi
lea ecx, [ebp - 0x10]
call fcn.004325b0
lea ecx, [ebp - 0x28]
call fcn.0042e540
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x200]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x6e4c9c
push edi
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [ebp - 0x28]
sete byte [ebp - 0x11]
test eax, eax
je 0x42e733
push eax
call ebx
cmp byte [ebp - 0x11], 0
je 0x42e854
lea eax, [ebp + 0x200]
mov dword [ebp - 0x10], eax
mov ecx, 0xff0000
mov esi, dword [ebp - 0x10]
mov edx, 0xff000000
mov eax, dword [esi]
test al, al
je 0x42e797
test ah, ah
je 0x42e774
test ecx, eax
je 0x42e77d
test edx, eax
je 0x42e787
xor eax, 0xaaaaaaaa
mov dword [esi], eax
add esi, 4
add eax, 4
jmp 0x42e753
xor eax, 0xaaaaaaaa
mov byte [esi], al
jmp 0x42e797
xor eax, 0xaaaaaaaa
mov word [esi], ax
jmp 0x42e797
xor eax, 0xaaaaaaaa
mov word [esi], ax
shr eax, 8
mov byte [esi + 2], ah
jmp 0x42e797
lea ecx, [ebp + 0x200]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e7a0
sub ecx, edx
lea eax, [ebp + 0x200]
push ecx
push eax
lea eax, [ebp]
push eax
call fcn.00656346
add esp, 0xc
test eax, eax
je 0x42e854
lea eax, [ebp]
mov dword [ebp - 0x10], eax
mov ecx, 0xffff0000
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
test ax, ax
je 0x42e7f7
test ecx, eax
je 0x42e7ed
xor eax, 0xaaaaaaaa
mov dword [esi], eax
add esi, 4
add eax, 4
jmp 0x42e7d3
xor eax, 0xaaaaaaaa
mov word [esi], ax
jmp 0x42e7f7
lea esi, [ebp]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42e800
sub esi, ecx
lea ecx, [ebp - 0x28]
sar esi, 1
call fcn.0042e540
mov ecx, dword [eax]
lea eax, [esi*2 + 2]
push eax
lea eax, [ebp]
push eax
push 3
push 0x6e4ca0
push str.SoftwareYandexPunto_Switcher3.2
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42e849
push eax
call ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov bl, 1
jmp 0x42e856
xor bl, bl
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x42e875
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x300]
xor ecx, ebp
call fcn.0063db0b
lea esp, [ebp + 0x304]
pop ebp
ret
push 0x80004005
call fcn.00403b60
int3