Function at 0x1000dcc0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x278
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
call fcn.10047fd0
mov esi, eax
call fcn.10047710
test eax, eax
je 0x1000de3c
mov edx, dword [0x100db91c]
and dl, 0xf
cmp dl, 2
jbe 0x1000de3c
push 0x44
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.1007dcf0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x86]
xor ecx, ecx
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], cx
mov word [esp + 0x88], dx
call fcn.1007dcf0
add esp, 0x18
push 0x104
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.Sysnative
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000dd9f
push 0x104
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.taskmgr.exe
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000de3c
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [0x100e38d8]
mov esi, eax
mov eax, dword [0x100e38a0]
mov edx, eax
xor edx, dword [0x100e389c]
cmp ecx, edx
je 0x1000de1d
mov edx, dword [0x100e3898]
xor edx, dword [0x100e3894]
mov eax, dword [esp + 0x18]
push eax
add edx, ecx
call edx
mov ecx, dword [0x100e38d8]
mov eax, dword [0x100e38a0]
xor eax, dword [0x100e389c]
cmp ecx, eax
je 0x1000de3c
mov edx, dword [0x100e3898]
xor edx, dword [0x100e3894]
mov eax, dword [esp + 0x1c]
push eax
add edx, ecx
call edx
cmp dword [0x100daf38], 0
jne 0x1000de7f
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000de74
push 0x100daf34
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x100daf38], eax
cmp dword [0x100daf34], 0
je 0x1000dec0
call fcn.10047690
test eax, eax
je 0x1000dec0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
push eax
push ecx
push edx
push ebx
push edi
push esi
call fcn.1000b370
add esp, 0x1c
pop esi
pop ebx
mov ecx, dword [esp + 0x274]
xor ecx, esp
call fcn.10079a05
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push ebx
push edi
push esi
push eax
call fcn.10005bc0
mov ecx, dword [esp + 0x29c]
add esp, 0x20
pop esi
pop ebx
xor ecx, esp
call fcn.10079a05
mov esp, ebp
pop ebp
ret