Function at 0x448243
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x492250]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0x34]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], esi
call fcn.00408720
push 0x44
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.0045c050
add esp, 0xc
mov dword [ebp - 0xa0], 0x44
cmp byte [ebp + 0x10], 0
jne 0x4482c3
or dword [ebp - 0x74], 1
xor eax, eax
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x98]
test esi, esi
cmovne eax, esi
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
test edi, edi
je 0x4482e1
or esi, 0x400
xor eax, eax
lea edi, [ebp - 0x5c]
cmp dword [ebx + 0x14], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x4482f4
mov edx, dword [ebx]
jmp 0x4482f6
mov edx, ebx
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x5c]
push eax
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0xa0]
push eax
movzx eax, byte [ebp + 0x24]
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x20]
push esi
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edx
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4483e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x448393
call fcn.00413970
cmp eax, 3
jge 0x448393
lea eax, [ebp - 0x24]
push eax
push 4
lea eax, [ebp - 0x20]
push eax
push 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x448382
cmp dword [ebp - 0x20], 0
je 0x448382
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push esi
push ebx
push eax
push dword [ebp - 0x20]
call fcn.00448033
add esp, 0x18
movzx esi, al
jmp 0x44838f
push 0xe9
xor esi, esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x4483e8
push 2
call fcn.00413e90
pop ecx
test al, al
je 0x4483d1
xor ebx, ebx
inc ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x22d
push str.d:webapps_b_build_slave_repo_build_srcwow_tools_servicepublicwow_launch_process_with_token.cc
lea ecx, [ebp - 0x158]
call fcn.00414780
add eax, 0x10
push str.Failed_to_launch_a_process_with_a_user_token
push eax
call fcn.0040b370
pop ecx
pop ecx
jmp 0x4483d4
mov ebx, dword [ebp - 0x34]
test bl, 1
je 0x4483e4
lea ecx, [ebp - 0x158]
call fcn.004147b0
xor bl, bl
jmp 0x448431
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041b960
lea ecx, [ebp - 0x4c]
call fcn.0041b9d0
test al, al
jne 0x448405
call fcn.0041ad50
lea ecx, [ebp - 0x4c]
call fcn.0041ba60
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0040f570
lea ecx, [ebp - 0x4c]
call fcn.0041bac0
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0040f570
lea ecx, [ebp - 0x4c]
mov bl, 1
call fcn.0041b990
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004099c0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a313
mov esp, ebp
pop ebp
ret