Function at 0x10006120
Capabilities:
Check if file exists
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000615a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10006191
cmp dword [esi + 0x14], 8
jb 0x1000616d
mov esi, dword [esi]
push esi
push str.Application_file_path_does_not_exist:__s_n
push 0x101b0364
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dc40
add esp, 0x10
xor al, al
jmp 0x1000639f
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x101af5dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10001d60
mov dword [ebp - 4], 0
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x100061c5
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100061d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10001e70
push 1
push 0x101af5dc
lea ecx, [ebp - 0x28]
call fcn.10001e70
push 1
push 0x101aed9c
lea ecx, [ebp - 0x28]
call fcn.10001e70
push 0xc
push str.uninstallAAM
lea ecx, [ebp - 0x28]
call fcn.10001e70
push ecx
push 0x101ace08
mov ecx, esi
call fcn.1000abe0
xor ecx, ecx
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x10], eax
mov dword [ebp - 0x2c], 7
cmovb eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
mov word [ebp - 0x40], cx
jb 0x10006246
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10001d60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edx
cmovae eax, dword [ebp - 0x40]
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push edx
cmovae ecx, dword [ebp - 0x28]
push eax
push 0
push 0x8000000
push 1
push 0
push 0
push ecx
push 0
mov dword [ebp - 0x98], 0x44
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x6c], 0x101
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10006309
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_Occured_trying_to_launch_exe._Error:__d
push 0x101b0364
push ecx
call fcn.1004cb70
add esp, 4
push eax
call fcn.1004dc40
add esp, 0x10
xor bl, bl
jmp 0x1000631d
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10006353
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006349
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100063bb
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1000639d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006393
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100063bb
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
int3