Function at 0x445470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x70], eax
call fcn.00452830
cmp eax, 0x13
jge 0x445536
mov dword [ebp - 0xf8], 0
xor eax, eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], 0
push 0x40
push 0
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0053ef70
add esp, 0xc
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0041cbc0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0x100]
jmp 0x4456dd
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xa0], 0
mov ecx, dword [str.S_1_16_8192]
mov dword [ebp - 0x98], ecx
mov edx, dword [0x57bc58]
mov dword [ebp - 0x94], edx
mov eax, dword [0x57bc5c]
mov dword [ebp - 0x90], eax
mov ecx, dword [0x57bc60]
mov dword [ebp - 0x8c], ecx
mov edx, dword [0x57bc64]
mov dword [ebp - 0x88], edx
mov eax, dword [0x57bc68]
mov dword [ebp - 0x84], eax
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
push 0x40
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.0053ef70
add esp, 0xc
mov dword [ebp - 0x68], 0
lea edx, [ebp - 0x64]
push edx
push 0x2000000
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4456c3
lea eax, [ebp - 0xa0]
push eax
push 1
push 2
push 0
push 0x2000000
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4456b9
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x98]
push eax
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x4456ac
mov dword [ebp - 0x5c], 0x20
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x60]
push eax
push 0x19
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x4456a2
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0041cbc0
push eax
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x104], edx
lea ecx, [ebp + 8]
call fcn.0040f740
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x70]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret