Function at 0x10001c70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x480
mov eax, dword [0x10056024]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push ebp
push esi
push 0x206
lea eax, [esp + 0x76]
or ebp, 0xffffffff
push 0
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
mov word [esp + 0x7c], 0
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x28a]
push 0
push ecx
mov word [esp + 0x290], 0
call sub.MSVCR80.dll_memset
add esp, 0x18
lea ebx, [esp + 0x278]
call fcn.10001260
test eax, eax
jne 0x10001d09
push 0x17c
call fcn.100010d0
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push esi
push 0
push str.GetModuleDir_NULL__szwWork__MAX_PATH_
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x18
jmp 0x10001e6b
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push 0x1004b060
lea eax, [esp + 0x80]
push 0x104
push eax
call esi
push 0x1004b064
lea ecx, [esp + 0x8c]
push 0x104
push ecx
call esi
push 0x44
lea edx, [esp + 0x50]
push 0
push edx
call sub.MSVCR80.dll_memset
xor eax, eax
add esp, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push 2
mov dword [esp + 0x30], 0x44
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10001dc0
push 0x185
call fcn.100010d0
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push 0
push str.OpenProcessToken_GetCurrentProcess____TOKEN_DUPLICATE__TokenHandle_
push str._s_return_code:_0x_08X___s.
push eax
call edx
add esp, 0x18
jmp 0x10001e6b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 1
push 2
push 0
push 0x2000000
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x10001e0a
push 0x186
call fcn.100010d0
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push esi
push 0
push str.DuplicateTokenEx_TokenHandle__MAXIMUM_ALLOWED__NULL__SecurityImpersonation__TokenPrimary__DupHandle_
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x18
jmp 0x10001e6b
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [esp + 0x90]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x10001e67
push 0x195
call fcn.100010d0
mov esi, eax
call sub.Comn.dll_GetObjectLog
mov edx, dword [eax]
push esi
push 0
push str.bResult
push str._s_return_code:_0x_08X___s.
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x18
jmp 0x10001e6b
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10001e85
push eax
call esi
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x10001e91
push eax
call esi
mov ecx, dword [esp + 0x484]
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.10045f6c
add esp, 0x480
ret