Function at 0x4095c0
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418d90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x320
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x2c8]
mov dword [ebp - 0x10], esp
push esi
push 0x22
push ebx
mov dword [ebp - 0x14], 0
call fcn.0040bff0
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x4097a1
push esi
mov ecx, ebx
call fcn.004094a0
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x4097a1
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallNetSupport_Manager
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0xa4]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0xa4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4097a1
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallNetSupport_School
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0xa4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push edx
push 0x80000002
call esi
test eax, eax
je 0x4097a1
lea eax, [ebx + 0x2c8]
push eax
lea eax, [ebp - 0xa4]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xa4]
push ecx
push 1
push 0
push edx
push 0x80000002
call esi
test eax, eax
je 0x4097a1
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallViglen_Remote_Learning
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0xa4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4097a1
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallNetSupport
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0xa4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4097a1
lea eax, [ebx + 0x2c8]
push eax
push 0x25
push ebx
call fcn.0040bff0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [ebx + 0x2c8]
push esi
push 0x23
push ebx
call fcn.0040bff0
add esp, 0xc
push esi
push 0x24
push ebx
call fcn.0040bff0
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x1a8]
lea edx, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push ecx
push edx
push 0
push str.UninstallString
push eax
mov dword [ebp - 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebx]
push 0
push 0
push str.Read_uninstall_exe
push 0xcf
push 4
mov ecx, ebx
mov edi, 3
call dword [edx + 4]
lea eax, [ebp - 0x1a8]
mov dword [ebp - 4], 0
push eax
call fcn.00401640
lea ecx, [ebp - 0x1a8]
push str.MSIEXEC
push ecx
call fcn.004118a0
add esp, 0xc
test eax, eax
je 0x4099af
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x409844
mov esi, str.NetSupport
push esi
push 0x57
push ebx
call fcn.0040bff0
or ecx, 0xffffffff
lea edi, [ebp - 0x1a8]
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [ebp + 0xc]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 8]
push 0x104
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x41d6a0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._REBOOTReallySuppress
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x32c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x32c]
push 0x5c
push ecx
call fcn.00401450
add esp, 8
lea edx, [eax + 1]
test eax, eax
jne 0x4098f3
lea edx, [ebp - 0x32c]
or ecx, 0xffffffff
mov edi, str.uninstal.log
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.__L
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x32c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._DEPLOYEDSETUP1
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x1a8]
push str.WINSTALL
push ecx
call fcn.004118a0
mov esi, eax
add esp, 8
test esi, esi
je 0x4099e4
lea eax, [ebx + 0x2c8]
push eax
push 0x26
push ebx
call fcn.0040bff0
add esp, 0xc
mov dword [ebp - 0x18], 1
jmp 0x409a1b
lea edx, [ebp - 0x1a8]
push str.REMOVE.EXE
push edx
call fcn.004118a0
mov esi, eax
add esp, 8
test esi, esi
je 0x409b85
lea eax, [ebx + 0x2c8]
push eax
push 0x27
push ebx
call fcn.0040bff0
add esp, 0xc
mov dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
cmp eax, 1
mov edi, str.WINSTALL
je 0x409a30
mov edi, str.REMOVE.EXE
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x1a8]
add esi, ecx
or ecx, 0xffffffff
push 0
push 0
mov byte [esi], al
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 8]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, eax
push 0xcf
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
cmp dword [ebp - 0x18], 1
jne 0x409a85
mov edi, str._U__Q__PNetSupport
jmp 0x409b55
push 0x28
push ebx
call fcn.0040bff0
mov edi, str.pciunnsm.txt
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, dword [ebp - 0x20]
push 0x8000080
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 2
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x1a8]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x409afc
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x1a8]
push eax
push edx
push 0x29
push ebx
call fcn.0040bff0
add esp, 0x10
push 0
push 0
call fcn.00411977
mov edi, str.CLICKMEB_r_n
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x228]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x228]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, str._S__Mpciunnsm.txt
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0xc]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, eax
push 0x2a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040bff0
add esp, 0xc
xor edi, edi
jmp 0x409bb0
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebx + 0x2c8]
push eax
push 0x2b
push ebx
call fcn.0040bff0
add esp, 0x10
jmp 0x409bb0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8