Function at 0x4078bf
Capabilities:
Create process on windows
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c0
cmp dword [ebp + 8], 0x46a
push ebx
push esi
push edi
mov esi, ecx
jne 0x407ded
xor ebx, ebx
cmp dword [0x41c778], ebx
jne 0x407ded
push 1
pop edi
mov dword [0x41c778], edi
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4078ff
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esi + 0x128]
cmp eax, 0x11
ja case.default.0x40790e
jmp dword [eax*4 + 0x407df4]
push ebx
mov ecx, esi
mov dword [esi + 0x12c], ebx
call fcn.00407e3c
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 8]
call fcn.0040bf2d
inc dword [esi + 0x128]
push ebx
mov ecx, esi
mov dword [esi + 0x12c], edi
call fcn.00407e3c
jmp case.default.0x40790e
mov dword [0x41c77c], ebx
push ebx
mov ecx, esi
mov dword [esi + 0x12c], edi
call fcn.00407e3c
mov eax, dword [esi + 8]
cmp dword [eax + 0xaa0], ebx
jne 0x407a39
cmp dword [esi + 0x11c], ebx
jne 0x4079e8
lea ecx, [esi + 0x1c]
push str.MASQUE32.EXE
call fcn.00406f7f
test eax, eax
jne 0x4079ae
push str.MASQUERA.EXE
lea ecx, [esi + 0x1c]
call fcn.00406f7f
test eax, eax
je 0x407a39
lea ecx, [esi + 0x1c]
call fcn.00407101
cmp eax, ebx
mov dword [esi + 0x11c], eax
je 0x4079cb
mov dword [0x41c77c], edi
jmp case.default.0x40790e
lea ecx, [esi + 0x134]
call fcn.00407274
test eax, eax
je 0x407a39
mov dword [0x41c77c], edi
mov dword [esi + 0x11c], edi
jmp 0x407a39
lea ecx, [esi + 0x134]
call fcn.00407274
test eax, eax
je 0x407a13
push str.Masquerade
push str.32770
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x407a33
mov dword [esi + 0x11c], ebx
jmp 0x407a39
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
push dword [esi + 0x11c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x407a39
cmp dword [ebp + 8], 0x103
jne 0x407a39
mov dword [0x41c77c], edi
cmp dword [0x41c77c], ebx
jne case.default.0x40790e
mov dword [esi + 0x11c], ebx
jmp 0x407c2a
mov ecx, esi
call fcn.00407e80
mov dword [esi + 0x12c], 2
push ebx
mov ecx, esi
call fcn.00407e3c
jmp 0x407c2a
lea edi, [esi + 0x12c]
mov ecx, esi
mov dword [edi], 2
call fcn.0040808d
mov dword [edi], 3
jmp 0x407a61
push ebx
mov ecx, esi
call fcn.00408508
push str.Windows_NT_x86
mov ecx, esi
call fcn.00408508
push str.Windows_4.0
mov ecx, esi
call fcn.00408508
jmp 0x407a61
push ebx
push ebx
mov ecx, esi
call fcn.0040897c
push str.Windows_NT_x86
push ebx
mov ecx, esi
call fcn.0040897c
push str.Windows_4.0
push ebx
mov ecx, esi
call fcn.0040897c
jmp 0x407a61
push ebx
push ebx
mov ecx, esi
call fcn.00408a09
push str.Windows_NT_x86
push ebx
mov ecx, esi
call fcn.00408a09
push str.Windows_4.0
push ebx
mov ecx, esi
call fcn.00408a09
jmp 0x407a61
mov ecx, esi
call fcn.00408bc2
jmp 0x407c2a
xor eax, eax
lea edi, [ebp - 0xf]
mov byte [ebp - 0x10], bl
lea ecx, [esi + 0x134]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 8]
mov edi, dword [eax + 0xa90]
mov eax, dword [edi]
mov dword [ebp + 8], eax
call fcn.0040726d
sub eax, 5
je 0x407b3a
dec eax
jne 0x407b76
push str.Win2000
jmp 0x407b3f
push str.WinNT4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp + 8], edi
je 0x407b76
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 8]
call fcn.0040b5d5
test eax, eax
je 0x407b6a
mov eax, dword [esi + 8]
mov dword [eax], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x407b4e
lea edi, [esi + 0x134]
mov ecx, edi
call fcn.00407281
test eax, eax
je 0x407b95
call fcn.0040b410
mov eax, dword [esi + 8]
mov dword [eax], 1
mov ecx, edi
call fcn.0040728e
test eax, eax
je 0x407a61
call fcn.0040b33e
jmp 0x407a61
mov ecx, esi
call fcn.00408c67
jmp 0x407c2a
mov ecx, esi
call fcn.00408da7
push 0xa
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x407c2a
mov dword [esi + 0x128], 0xc
jmp case.default.0x40790e
mov ecx, esi
call fcn.004092b8
jmp 0x407c2a
mov ecx, esi
call fcn.0040906c
jmp 0x407a61
mov ecx, esi
call fcn.004093c1
jmp 0x407c2a
mov ecx, esi
call fcn.00409b24
jmp 0x407a61
lea ecx, [esi + 0x134]
call fcn.0040728e
test eax, eax
je 0x407c2a
call fcn.0040b3b0
inc dword [esi + 0x128]
jmp case.default.0x40790e
push 0x46a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x407c51
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esi + 8]
cmp dword [eax], ebx
je 0x407da2
push 0x10024
lea ecx, [esi + 0x1d0]
push 0xa1
call fcn.0040a539
push eax
push 0xc8
lea ecx, [esi + 0x1d0]
call fcn.0040a539
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esi + 0x134]
mov dword [ebp + 8], eax
call fcn.0040726d
cmp eax, edi
je 0x407cd3
jle 0x407cbd
cmp eax, 3
jg 0x407cbd
cmp dword [ebp + 8], 6
jne 0x407d8c
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x407d5a
cmp dword [ebp + 8], 6
jne 0x407d8c
mov ecx, esi
call fcn.00409cfb
jmp 0x407d5a
push 2
lea ecx, [ebp - 0x5c0]
call fcn.00402d93
test eax, eax
jne 0x407cf5
lea eax, [ebp + 8]
push 0x416c90
push eax
mov dword [ebp + 8], edi
call fcn.0040d2d0
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x3b8]
push eax
push ebx
push ebx
push str.ZRESTART.EXE
call fcn.0040d660
add esp, 0x14
lea ecx, [ebp - 0xac]
call fcn.004071b6
lea ecx, [ebp - 0x5c0]
call fcn.00401578
push eax
lea ecx, [ebp - 0xac]
call fcn.0040a259
push str.ZWININIT
push ebx
call fcn.004044cc
cmp dword [ebp + 8], 6
pop ecx
pop ecx
jne 0x407d8c
push ebx
push str.ZRESTART.EXE__d
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x407d8c
xor eax, eax
cmp eax, ebx
jne 0x407d8c
lea edi, [esi + 0x1d0]
push 0x10000
push 0xa1
mov ecx, edi
call fcn.0040a539
push eax
push 0xc9
mov ecx, edi
call fcn.0040a539
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push ebx
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x407dd0
lea edi, [esi + 0x1d0]
push 0x10000
push 0xa1
mov ecx, edi
call fcn.0040a539
push eax
push 0xc7
mov ecx, edi
call fcn.0040a539
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
push ebx
push 0x469
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x41c778], ebx
pop edi
pop esi
pop ebx
leave
ret 4