Function at 0x1108c800
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xac], edi
cmp ecx, edi
je 0x1108c85d
mov dword [ebp - 0x9c], ecx
jmp 0x1108c869
lea edx, [ebp - 0xf8]
mov dword [ebp - 0x9c], edx
cmp eax, edi
je 0x1108c877
mov esi, eax
mov dword [ebp - 0xa4], esi
jmp 0x1108c885
lea eax, [ebp - 0x13c]
mov dword [ebp - 0xa4], eax
mov esi, eax
push 0x94
lea ecx, [ebp - 0x98]
push edi
push ecx
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0xb0], edi
call fcn.11162be0
add esp, 0xc
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KeRneL32.DLl_GetVersionExA]
cmp dword [ebp - 0x94], 6
jae 0x1108c9ad
lea eax, [ebp - 0xac]
push eax
push ebx
call fcn.1108c340
add esp, 8
test eax, eax
je 0x1108c942
push 0x60000
push edi
push 0x111a5588
call dword [sym.imp.uSEr32.dll_OpenWindowStationA]
mov ebx, eax
mov dword [ebp - 0xb8], ebx
call dword [sym.imp.uSEr32.dll_GetProcessWindowStation]
mov esi, eax
push ebx
mov dword [ebp - 0xb0], esi
call dword [sym.imp.uSEr32.dll_SetProcessWindowStation]
test eax, eax
je 0x1108c942
push 0x60081
push edi
push edi
push 0x111a5580
call dword [sym.imp.uSEr32.dll_OpenDesktopA]
mov edi, eax
mov dword [ebp - 0xc0], edi
test edi, edi
jne 0x1108c955
push esi
call dword [sym.imp.uSEr32.dll_SetProcessWindowStation]
push ebx
call dword [sym.imp.uSEr32.dll_CloseWindowStation]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KeRneL32.DLl_SetHandleInformation]
push 1
push 1
push edi
call esi
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x1108cb3c
push 1
push 1
push ebx
call esi
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x1108cb3c
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xac]
push ecx
push 1
push edx
push edi
push ebx
call fcn.1108c5b0
mov ebx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xa4]
add esp, 0x14
xor edi, edi
push 0x44
lea eax, [ebp - 0x13c]
push edi
push eax
call fcn.11162be0
add esp, 0xc
mov dword [esi], 0x44
cmp dword [esi + 8], edi
jne 0x1108c9d1
mov dword [esi + 8], 0x111a5570
push 0x111a5568
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1108ca32
push 0x111a5550
push edi
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
test eax, eax
je 0x1108ca32
push 0
push ebx
lea ecx, [ebp - 0xa0]
push ecx
call eax
test eax, eax
je 0x1108ca28
mov edx, dword [ebp - 0xa0]
push 1
push edx
call dword [sym.imp.KeRneL32.DLl_IsBadReadPtr]
test eax, eax
jne 0x1108ca28
or dword [ebp + 0x20], 0x400
mov dword [ebp - 0xbc], 1
jmp 0x1108ca32
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp + 0x20]
push esi
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp - 0xc4]
push eax
push ecx
push 0
push 0
push edx
push 0
push ebx
call dword [sym.imp.aDvapi32.DLL_CreateProcessAsUserA]
cmp dword [ebp - 0xbc], 0
mov esi, eax
mov dword [ebp - 0xa8], esi
je 0x1108ca8e
push 0x111a5538
push edi
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
test eax, eax
je 0x1108ca8e
mov ecx, dword [ebp - 0xa0]
push ecx
call eax
test edi, edi
je 0x1108ca99
push edi
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
test esi, esi
je 0x1108cb3c
cmp dword [ebp + 0x14], 0
je 0x1108cb1c
mov edx, dword [ebp - 0x9c]
mov ebx, dword [sym.imp.uSEr32.dll_MsgWaitForMultipleObjects]
push 0xff
push 0xffffffffffffffff
push 0
push edx
push 1
call ebx
test eax, eax
je 0x1108cb1c
mov esi, dword [sym.imp.uSEr32.dll_PeekMessageA]
mov edi, dword [sym.imp.uSEr32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xe8]
push eax
call esi
test eax, eax
je 0x1108cb04
lea ecx, [ebp - 0xe8]
push ecx
call edi
push 1
push 0
push 0
push 0
lea edx, [ebp - 0xe8]
push edx
call esi
test eax, eax
jne 0x1108cae6
mov eax, dword [ebp - 0x9c]
push 0xff
push 0xffffffffffffffff
push 0
push eax
push 1
call ebx
test eax, eax
jne 0x1108cad1
cmp dword [ebp - 0xcc], 0
jne 0x1108cb3c
mov edi, dword [ebp - 0x9c]
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.KeRneL32.DLl_CloseHandle]
push ecx
call esi
mov edx, dword [edi]
push edx
call esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x1108cb56
push eax
push 0
call dword [sym.imp.KeRneL32.DLl_GetProcessHeap]
push eax
call dword [sym.imp.KeRneL32.DLl_HeapFree]
mov eax, dword [ebp - 0xc0]
mov esi, dword [sym.imp.KeRneL32.DLl_GetLastError]
test eax, eax
je 0x1108cb81
push eax
call dword [sym.imp.uSEr32.dll_CloseDesktop]
test eax, eax
jne 0x1108cb81
call esi
push eax
push 0x111a5518
call fcn.11147060
add esp, 8
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x1108cb92
push eax
call dword [sym.imp.uSEr32.dll_SetProcessWindowStation]
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x1108cbb7
push eax
call dword [sym.imp.uSEr32.dll_CloseWindowStation]
test eax, eax
jne 0x1108cbb7
call esi
push eax
push 0x111a54fc
call fcn.11147060
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret