Function at 0x4118c0
Capabilities:
Create process on windows
Get disk information
Shutdown system

Disassembly:
sub esp, 0x230
mov eax, dword [esp + 0x234]
push ebx
xor ebx, ebx
push eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
call fcn.00411d20
add esp, 4
test eax, eax
jne 0x4118ef
pop ebx
add esp, 0x230
ret 0x10
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push ebx
call esi
push 1
mov dword [0x429a6c], eax
call esi
mov dword [0x429a68], eax
mov ecx, dword [esp + 0x248]
push ecx
call fcn.00411100
mov eax, dword [0x429688]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 4
cmp eax, ebx
je 0x41194b
mov edx, dword [0x429680]
mov eax, dword [0x429ac8]
push 0x104
push edx
push eax
call esi
mov ecx, dword [0x429680]
push ecx
push ebx
call fcn.00411320
add esp, 8
cmp dword [0x429a50], ebx
jne 0x41195b
cmp dword [0x429a48], ebx
je 0x411979
call fcn.004122f0
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x411c68
mov eax, dword [0x429a50]
cmp eax, ebx
jne 0x411c0b
call fcn.004120c0
test eax, eax
je 0x411c68
cmp dword [0x429a48], ebx
je 0x4119bb
mov eax, dword [0x4299fc]
cmp dword [eax + 0x64], ebx
je 0x4119c0
mov ecx, dword [eax + 0x68]
lea edx, [esp + 0x14]
push edx
mov edx, dword [eax + 0x64]
push 0x20019
add ecx, eax
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411c54
mov eax, dword [0x4299fc]
mov ecx, dword [0x429688]
mov edi, dword [esp + 0x24c]
cmp ecx, ebx
jne 0x411a30
mov eax, dword [0x429680]
mov ecx, dword [0x429ac8]
push 0x104
push eax
push ecx
call esi
mov eax, dword [0x429680]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4119f6
cmp byte [eax + 1], cl
je 0x411a08
cmp cl, bl
je 0x411a08
cmp byte [eax + 1], 0x3a
jne 0x411a08
mov byte [eax + 3], bl
mov eax, dword [0x429680]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x411a19
cmp eax, 5
jne 0x411a2b
push ebx
push edi
call fcn.00411550
add esp, 8
test eax, eax
jne 0x411c61
mov eax, dword [0x4299fc]
cmp dword [esp + 0x10], ebx
jne 0x411a4c
call fcn.004122f0
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x411c68
mov eax, dword [0x4299fc]
cmp dword [0x429af8], ebx
je 0x411a5b
call fcn.0040fcc0
jmp 0x411a78
test byte [eax + 0x14], 2
jne 0x411a66
call fcn.00402bc0
call fcn.00412140
test eax, eax
je 0x411c68
call fcn.00405370
cmp dword [0x429af0], ebx
jne 0x411abe
cmp dword [0x429afc], ebx
jne 0x411abe
mov eax, dword [0x4296a4]
cmp eax, ebx
je 0x411abe
push eax
call fcn.0040d520
mov edx, dword [0x429680]
lea eax, [esp + 0x38]
push edx
push str.rundll32_desk.cpl_InstallScreenSaver__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x34]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [0x429acc]
cmp eax, ebx
je 0x411acf
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x429af4], ebx
je 0x411b4c
cmp dword [0x429afc], ebx
jne 0x411b4c
cmp dword [0x429af0], ebx
jne 0x411b03
cmp dword [0x429a4c], ebx
jne 0x411b03
call fcn.00403a40
test eax, eax
je 0x411b03
push 1
push edi
call fcn.00411550
add esp, 8
cmp dword [0x429af8], ebx
je 0x411b17
mov edx, dword [0x4299fc]
mov eax, dword [edx]
test ah, ah
jns 0x411b4c
mov eax, dword [0x429ad0]
mov ecx, dword [0x429ac8]
push ebx
push 0x410570
push eax
push 0x83
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x411b4c
cmp dword [0x429af0], ebx
jne 0x411b4c
mov dword [0x429af4], 0x10
mov eax, dword [0x429acc]
cmp eax, ebx
je 0x411baf
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x429af4], 0x10
je 0x411ba3
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
call esi
test eax, eax
je 0x411ba3
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0x1c]
push eax
call edi
lea ecx, [esp + 0x1c]
push ecx
call ebp
push ebx
push ebx
lea edx, [esp + 0x24]
push ebx
push edx
call esi
test eax, eax
jne 0x411b86
pop ebp
mov dword [0x429acc], ebx
mov dword [0x429ad0], ebx
cmp dword [0x429af0], ebx
jne 0x411c70
cmp dword [0x429af4], ebx
jne 0x411c70
cmp dword [0x429a4c], ebx
jne 0x411c70
cmp dword [0x429afc], ebx
jne 0x411c70
push 1
push ebx
push 0x3000000
call fcn.00403ab0
mov eax, dword [0x424268]
add esp, 0xc
cmp eax, ebx
je 0x411c70
push 1
push 1
push 0x4000000
call fcn.00403ab0
add esp, 0xc
jmp 0x411c70
dec eax
push eax
call fcn.00410e40
push ebx
push ebx
push 0x1000000
call fcn.00403ab0
push ebx
push ebx
push 0x2000000
call fcn.00403ab0
push ebx
push ebx
push 0x3000000
call fcn.00403ab0
mov eax, dword [0x424268]
add esp, 0x28
cmp eax, ebx
je 0x411c70
push ebx
push 1
push 0x4000000
call fcn.00403ab0
add esp, 0xc
jmp 0x411c70
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411c70
call fcn.00412020
jmp 0x411c70
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x10]
pop edi
cmp eax, ebx
pop esi
je 0x411c7f
call fcn.00411040
call fcn.00412020
cmp dword [0x429af4], 0x10
jne 0x411ceb
cmp dword [0x429a84], ebx
je 0x411ce2
lea ecx, [esp + 0xc]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411ceb
lea edx, [esp + 0x14]
push edx
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push ebx
push eax
push ebx
push ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp dword [esp + 4], ebx
jne 0x411cfb
mov edx, dword [0x429afc]
mov dword [esp + 4], edx
cmp dword [0x429af4], ebx
je 0x411d0b
mov dword [esp + 4], 0xfffffffe
mov eax, dword [esp + 4]
pop ebx
add esp, 0x230
ret 0x10