Function at 0x10042310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
call fcn.10124c14
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
mov ebx, eax
lea eax, [esp + 0xc]
cmovae esi, dword [ebp + 8]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.101234f8
add esp, 0xc
mov edi, eax
cmp esi, dword [esp + 0xc]
je 0x100425cb
cmp dword [ebx], 0x22
je 0x100425c1
call fcn.10124c14
cmp dword [ebp + 0x34], 8
lea esi, [ebp + 0x20]
mov ebx, eax
lea eax, [esp + 0xc]
cmovae esi, dword [ebp + 0x20]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.101234f8
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x100425d5
cmp dword [ebx], 0x22
je 0x100425c1
test eax, eax
setne al
cmp edi, 3
ja case.default.0x100423a2
jmp dword [edi*4 + 0x100425e4]
test al, al
je 0x100423bc
mov edx, 5
call fcn.10042010
jmp case.default.0x100423a2
xor edx, edx
call fcn.10042010
jmp case.default.0x100423a2
mov cl, al
call fcn.10042180
jmp case.default.0x100423a2
call fcn.10041ea0
jmp case.default.0x100423a2
push 0x10
test al, al
lea eax, [esp + 0x14]
push 0
push eax
je 0x1004248d
call fcn.1011ce00
add esp, 0xc
lea eax, [esp + 0x20]
push 0x44
push 0
push eax
call fcn.1011ce00
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
mov dword [esp + 0x20], 0x44
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
mov dword [esp + 0x4c], 1
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push str.sc_config_wuauserv_startauto
push 0
call esi
push 0x10
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1011ce00
add esp, 0xc
lea eax, [esp + 0x20]
push 0x44
push 0
push eax
call fcn.1011ce00
add esp, 0xc
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push str.sc_start_wuauserv
jmp 0x10042526
call fcn.1011ce00
add esp, 0xc
lea eax, [esp + 0x20]
push 0x44
push 0
push eax
call fcn.1011ce00
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
mov dword [esp + 0x20], 0x44
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
mov dword [esp + 0x4c], 1
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push str.sc_stop_wuauserv
push 0
call esi
push 0x10
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1011ce00
add esp, 0xc
lea eax, [esp + 0x20]
push 0x44
push 0
push eax
call fcn.1011ce00
add esp, 0xc
xor eax, eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push str.sc_config_wuauserv_startdisabled
push 0
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 1
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10042570
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10042566
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100425df
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x100425ba
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100425b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100425df
push edx
push ecx
call fcn.1011a823
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.1010560a
push str.invalid_stoi_argument
call fcn.101055ca
push str.invalid_stoi_argument
call fcn.101055ca
call fcn.10125fc5
test eax, 0xc8100423
and eax, dword [eax + edx]
aam 0x23
add al, 16
fisub word [ebx]
add al, 16
int3