Function at 0x425ad6
Capabilities:
Query or enumerate registry value
Set registry value
Shutdown system

Disassembly:
mov eax, 0x476cee
call fcn.00467ed8
sub esp, 0x1c8
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp byte [edi + 0xc], bl
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], ebx
je 0x425ed5
lea eax, [ebp - 0x1d]
push ebx
push eax
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0x47e4b8
mov dword [ebp - 0xa8], 0x47e4b0
call fcn.0040590e
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 1
call fcn.00406c3c
mov ecx, dword [eax]
mov byte [ebp - 4], 2
mov byte [eax + 4], 1
call fcn.0040668e
push 0x4958b0
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x58]
push esi
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004073aa
lea eax, [ebp - 0xc8]
push 0x496bd8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004076d0
add esp, 0xc
push 4
push eax
mov byte [ebp - 4], 4
call fcn.00418679
pop ecx
mov byte [ebp - 0x11], al
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00407d51
cmp byte [ebp - 0x11], bl
je 0x425eb9
lea eax, [ebp - 0x11]
push ebx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x47e4b8
mov dword [ebp - 0x60], 0x47e4b0
call fcn.0040590e
lea eax, [ebp - 0x1e]
push 1
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.0040590e
mov esi, 0x800
lea eax, [ebp - 0x2c]
push esi
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00406c57
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 7
call fcn.00406617
push esi
push eax
push ebx
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00405d74
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0x80]
push eax
call fcn.00426db3
push dword [0x47e51c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 8
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00406741
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 6
call fcn.00407d51
mov esi, dword [ebp - 0x1c]
mov edi, 0x47e4c8
mov eax, dword [esi + 0x64]
cmp eax, ebx
je 0x425c6f
mov edi, eax
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x80]
push eax
call fcn.00420192
push 0x496bc4
push eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 9
push eax
call fcn.0040a582
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040a582
add esp, 0xc
push dword [0x47e51c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xb
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040763e
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.00407d51
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 9
call fcn.00407d51
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 6
call fcn.00407d51
lea edi, [esi + 0x10]
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0041308b
mov ecx, dword [eax]
mov byte [ebp - 4], 0xc
mov byte [eax + 4], 1
call fcn.0040668e
mov ecx, dword [esi + 0x58]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
cmp byte [ebp - 0x24], 0
mov byte [ebp - 4], 6
je 0x425d34
mov ecx, dword [ebp - 0x28]
push dword [ecx + 0x1c]
call fcn.00405c35
push edi
lea eax, [ebp - 0x118]
push 0x496bbc
push eax
call fcn.0042768c
add esp, 0xc
push dword [0x47e51c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0xd
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040763e
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 6
call fcn.00407d51
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x1d4]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - 0x1d4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c4], 1
jne 0x425dc3
cmp dword [ebp - 0x1d0], 4
ja 0x425db1
jne 0x425dc3
cmp dword [ebp - 0x1cc], ebx
jbe 0x425dc3
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push 0x496b74
jmp 0x425dd3
lea eax, [ebp - 0x18]
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push 0x496b40
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, 0x496b2c
lea edi, [ebp - 0xa0]
mov esi, ebx
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x8d]
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop esi
xor edi, edi
lea eax, [ebp - 0xa0]
push edi
push edi
push edi
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x425e36
push esi
push ebx
lea eax, [ebp - 0xa0]
push 0x495910
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
inc esi
jmp 0x425e02
mov eax, dword [ebp - 0x4c]
add eax, eax
push eax
call fcn.0046808f
mov esi, eax
pop ecx
cmp esi, edi
mov dword [ebp - 0x24], esi
setne byte [ebp - 0x28]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
call fcn.00406617
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 1
lea eax, [ebp - 0xa0]
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp byte [ebp - 0x28], 0
je 0x425e8b
push esi
call fcn.0045ff78
pop ecx
cmp dword [ebp - 0x18], edi
je 0x425e9c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00407d51
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.00407d51
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.00407d51
jmp 0x425ed5
cmp byte [edi + 0xd], 0
je 0x425f36
mov esi, dword [sym.imp.USER32.dll_ExitWindowsEx]
push ebx
push 2
pop edi
push edi
call esi
test eax, eax
jne 0x425f36
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x425f36
lea eax, [ebp - 0x2c]
push eax
push 0x496b18
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
lea eax, [ebp - 0x30]
push ebx
push eax
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x425f36
push ebx
push edi
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret