Function at 0x4136c0
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.00413b30
add esp, 4
test eax, eax
jne 0x4136ef
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 [0x42bb94], eax
call esi
mov dword [0x42bb90], eax
mov ecx, dword [esp + 0x248]
push ecx
call fcn.00412eb0
mov eax, dword [0x42b770]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 4
cmp eax, ebx
je 0x41374b
mov edx, dword [0x42b764]
mov eax, dword [0x42bbf0]
push 0x104
push edx
push eax
call esi
mov ecx, dword [0x42b764]
push ecx
push ebx
call fcn.004130e0
add esp, 8
cmp dword [0x42bb78], ebx
jne 0x41375b
cmp dword [0x42bb70], ebx
je 0x413779
call fcn.00414100
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x413a73
mov eax, dword [0x42bb78]
cmp eax, ebx
jne 0x413a2f
call fcn.00413ed0
test eax, eax
je 0x413a73
cmp dword [0x42bb70], ebx
je 0x4137bb
mov eax, dword [0x42bb24]
cmp dword [eax + 0x64], ebx
je 0x4137c0
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 0x413a5f
mov eax, dword [0x42bb24]
mov ecx, dword [0x42b770]
mov edi, dword [esp + 0x24c]
cmp ecx, ebx
jne 0x413838
cmp dword [0x42b76c], ebx
jne 0x413838
mov eax, dword [0x42b764]
mov ecx, dword [0x42bbf0]
push 0x104
push eax
push ecx
call esi
mov eax, dword [0x42b764]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4137fe
cmp byte [eax + 1], cl
je 0x413810
cmp cl, bl
je 0x413810
cmp byte [eax + 1], 0x3a
jne 0x413810
mov byte [eax + 3], bl
mov eax, dword [0x42b764]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x413821
cmp eax, 5
jne 0x413833
push ebx
push edi
call fcn.00413310
add esp, 8
test eax, eax
jne 0x413a6c
mov eax, dword [0x42bb24]
cmp dword [esp + 0x10], ebx
jne 0x413854
call fcn.00414100
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x413a73
mov eax, dword [0x42bb24]
cmp dword [0x42bc20], ebx
je 0x413867
push ebx
call fcn.00411a00
add esp, 4
jmp 0x413884
test byte [eax + 0x14], 2
jne 0x413872
call fcn.00402bd0
call fcn.00413f50
test eax, eax
je 0x413a73
call fcn.00405650
cmp dword [0x42bc18], ebx
jne 0x4138ca
cmp dword [0x42bc24], ebx
jne 0x4138ca
mov eax, dword [0x42b78c]
cmp eax, ebx
je 0x4138ca
push eax
call fcn.0040f0c0
mov edx, dword [0x42b764]
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 [0x42bbf4]
cmp eax, ebx
je 0x4138db
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x42bc1c], ebx
je 0x413974
cmp dword [0x42bc24], ebx
jne 0x413974
cmp dword [0x42bc18], ebx
jne 0x413917
cmp dword [0x42bb74], ebx
jne 0x413917
call fcn.00403c90
test eax, eax
je 0x413917
push 1
push edi
call fcn.00413310
add esp, 8
cmp dword [0x42bc20], ebx
je 0x41392b
mov edx, dword [0x42bb24]
mov eax, dword [edx]
test ah, ah
jns 0x413974
push 8
push 6
call fcn.004039a0
add esp, 8
cmp eax, ebx
je 0x413974
cmp byte [eax], bl
je 0x413974
mov eax, dword [0x42bbf8]
mov ecx, dword [0x42bbf0]
push ebx
push 0x4121a0
push eax
push 0x83
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x413974
cmp dword [0x42bc18], ebx
jne 0x413974
mov dword [0x42bc1c], 0x10
mov eax, dword [0x42bbf4]
cmp eax, ebx
je 0x4139d7
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x42bc1c], 0x10
je 0x4139cb
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 0x4139cb
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 0x4139ae
pop ebp
mov dword [0x42bbf4], ebx
mov dword [0x42bbf8], ebx
cmp dword [0x42bc18], ebx
jne 0x413a7b
cmp dword [0x42bc1c], ebx
jne 0x413a7b
cmp dword [0x42bb74], ebx
jne 0x413a7b
cmp dword [0x42bc24], ebx
jne 0x413a7b
push 1
push ebx
push 0x3000000
call fcn.00403d20
mov eax, dword [0x42603c]
add esp, 0xc
cmp eax, ebx
je 0x413a7b
push 1
push 1
push 0x4000000
call fcn.00403d20
add esp, 0xc
jmp 0x413a7b
dec eax
push eax
call fcn.00412a90
push ebx
push ebx
push 0x1000000
call fcn.00403d20
push ebx
push ebx
push 0x2000000
call fcn.00403d20
push ebx
push ebx
push 0x3000000
call fcn.00403d20
add esp, 0x28
jmp 0x413a7b
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x413a7b
call fcn.00413e30
jmp 0x413a7b
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x10]
pop edi
cmp eax, ebx
pop esi
je 0x413a8a
call fcn.00412de0
call fcn.00413e30
cmp dword [0x42bc1c], 0x10
jne 0x413af6
cmp dword [0x42bbac], ebx
je 0x413aed
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 0x413af6
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 0x413b06
mov edx, dword [0x42bc24]
mov dword [esp + 4], edx
cmp dword [0x42bc1c], ebx
je 0x413b16
mov dword [esp + 4], 0xfffffffe
mov eax, dword [esp + 4]
pop ebx
add esp, 0x230
ret 0x10