Function at 0x40fb80
Capabilities:
Create process on windows
Get common file path
Resume thread

Disassembly:
sub esp, 0x67c
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0x678], eax
push ebx
push esi
push edi
push 0x4a3ca0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ebx, eax
test ebx, ebx
jne 0x40fbcb
push str.CreateJobObject_Failed_
push 0x17
push str..SetXPDrvSign.cpp
push 1
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x14
jmp 0x40fe4b
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00473d50
xor eax, eax
add esp, 0xc
push eax
push 0x1ff
push 1
push eax
push eax
push str.dtl_xp_instdrv
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov esi, eax
test esi, esi
je 0x40fc19
mov dword [esp + 0x28], str.dtl_xp_instdrv
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x72]
xor ecx, ecx
push eax
mov word [esp + 0x5c], cx
mov word [esp + 0x74], dx
call fcn.00473d50
add esp, 0xc
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x27a]
push edx
mov word [esp + 0x27c], cx
call fcn.00473d50
add esp, 0xc
push 0x104
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.004717be
add esp, 0xc
push str._rundll32.exe
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.00471185
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x274]
push 0x208
push edx
call fcn.00471185
add esp, 0xc
push str._shell32.dll_Control_RunDLL
lea eax, [esp + 0x274]
push 0x208
push eax
call fcn.00471185
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x274]
push 0x208
push edx
call fcn.00471185
add esp, 0xc
push 0x49f804
lea eax, [esp + 0x274]
push 0x208
push eax
call fcn.00471185
add esp, 0xc
push str.sysdm.cpl
lea ecx, [esp + 0x274]
push 0x208
push ecx
call fcn.00471185
add esp, 0xc
push 0x4a3d28
lea edx, [esp + 0x274]
push 0x208
push edx
call fcn.00471185
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0x1000014
push 0
push 0
push 0
lea edx, [esp + 0x290]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40fda8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_error___d
push 0x4b
push str..SetXPDrvSign.cpp
push 1
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x18
test esi, esi
je 0x40fd9c
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40fe4b
push str.CreateProcess_Succeed_
push 0x53
push str..SetXPDrvSign.cpp
push 4
call fcn.0048ccc0
push eax
call fcn.0048c3e0
mov eax, dword [esp + 0x24]
add esp, 0x14
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x40fe08
push str.AssignProcessToJobObject_Succeed_
push 0x58
push str..SetXPDrvSign.cpp
push 4
call fcn.0048ccc0
push eax
call fcn.0048c3e0
mov ecx, dword [esp + 0x28]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esp + 0x68c]
push edx
call fcn.0040fe70
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push str.TerminateJobObject_
push 0x5d
push str..SetXPDrvSign.cpp
push 4
call fcn.0048ccc0
push eax
call fcn.0048c3e0
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call edi
push ebx
call edi
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00470f4c
add esp, 0x67c
ret 4