Function at 0x1001c930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d2f5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10088020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.10046750
push 0
lea eax, [ebp - 0x50]
push 0x3c
push eax
call fcn.100262e0
mov eax, dword [ebp + 0xc]
add esp, 0x18
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x48], esi
push eax
mov dword [ebp - 0x4c], 0x540
mov dword [ebp - 0x44], str.runas
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], 0x100707ac
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1001caa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1001af00
cmp byte [eax + 0x1c], 0
je 0x1001ca8c
call fcn.1001af00
mov esi, eax
call fcn.10009f40
test eax, eax
je 0x1001cbaf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 0xc]
push 0x30
push str.::ShellExecuteEx___call_failed_with_error_code:
call fcn.10010b90
push edi
lea ecx, [ebp + 0xc]
call fcn.1001b3b0
mov ebx, eax
call fcn.10009f40
test eax, eax
je 0x1001cbaf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
push 0
push 0x100707ac
call fcn.10010b90
push ecx
push ebx
sub esp, 8
mov ecx, esi
call fcn.1001b0f0
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ca6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001ca8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1001cb84
call fcn.1001af00
cmp byte [eax + 0x1c], 0
je 0x1001cb6d
call fcn.1001af00
mov esi, eax
call fcn.10009f40
test eax, eax
je 0x1001cbaf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0xc
lea ecx, [ebp + 0xc]
push 0x14
push str.NULL_process_handle_
call fcn.10010b90
call fcn.10009f40
test eax, eax
je 0x1001cbaf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x10]
push 0
push 0x100707ac
call fcn.10010b90
push ecx
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
sub esp, 8
call fcn.1001b0f0
mov byte [ebp - 4], 0xc
or esi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001cb4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001cb6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005390
int3