Function at 0x10016900
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
sub esp, 0x1a0
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x180], eax
mov eax, dword [ecx + 0xc]
lea ebx, [edi - 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x184], eax
test byte [0x1001c08c], 8
jne 0x10016e90
test esi, esi
jne 0x10017000
call sym._DPLAYX_AnyLobbiesWaitingForConnSettings
test eax, eax
jne 0x10016bb0
lea eax, [edi + 0x20]
mov dword [ebp - 0x17c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x16c]
pxor xmm0, xmm0
lea edx, [ebp - 0x140]
movups xmmword [ebp - 0x13c], xmm0
sub esp, 4
mov eax, dword [eax + 8]
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x140], ebx
lea ebx, [ebp - 0xd8]
movdqu xmm1, xmmword [eax + 0x18]
mov eax, dword [edi]
movups xmmword [ebp - 0x13c], xmm1
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], sym._RunApplicationA_EnumLocalApplications_12
mov dword [esp], edi
call dword [eax + 0x1c]
mov esi, dword [ebp - 0x12c]
sub esp, 0x10
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [esp], ebx
call sym._strlen
mov edx, 0x5c
mov word [ebp + eax - 0xd8], dx
mov edx, dword [ebp - 0x128]
lea eax, [ebx + eax + 1]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._strcpy
mov dword [esp], esi
mov esi, dword [sym.imp.ucrtbase.dll_free]
call esi
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
call esi
mov edx, dword [sym.imp.ucrtbase.dll__strdup]
mov dword [esp], ebx
mov dword [ebp - 0x178], edx
call edx
mov dword [ebp - 0x170], eax
mov dword [esp], ebx
call sym._strlen
mov ecx, 0x20
mov word [ebp + eax - 0xd8], cx
mov ecx, dword [ebp - 0x124]
lea eax, [ebx + eax + 1]
mov dword [esp + 4], ecx
mov dword [ebp - 0x174], ecx
mov dword [esp], eax
call sym._strcpy
mov ecx, dword [ebp - 0x174]
mov dword [esp], ecx
call esi
mov dword [esp], ebx
mov edx, dword [ebp - 0x178]
call edx
pxor xmm0, xmm0
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], 0x44
movups xmmword [ebp - 0x118], xmm0
movups xmmword [ebp - 0x108], xmm0
movups xmmword [ebp - 0xf8], xmm0
movups xmmword [ebp - 0xe8], xmm0
movups xmmword [ebp - 0x150], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp - 0x120]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0x4000014
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
je 0x10017010
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call sym._DPLAYX_CreateLobbyApplication
test eax, eax
jne 0x10016b4f
test byte [0x1001c08c], 2
jne 0x10016ee0
mov ebx, dword [ebp - 0x16c]
mov eax, dword [edi]
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x148]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], edi
call dword [eax + 0x30]
sub esp, 0x10
mov ebx, eax
test eax, eax
je 0x10016bf0
test byte [0x1001c08c], 2
jne 0x10016f98
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
test byte [0x1001c08c], 1
je 0x10016955
mov dword [esp + 0xc], str.Waiting_lobby_not_being_handled_correctly_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_RunApplication
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 0
call sym._wine_dbg_log.constprop.2_1
jmp 0x10016955
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x15c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x188], esi
mov esi, dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xc
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 1
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call esi
lea edx, [ebp - 0x15c]
sub esp, 0x10
mov dword [ebp - 0x16c], eax
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call esi
lea edx, [ebp - 0x15c]
sub esp, 0x10
mov dword [ebp - 0x170], eax
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call esi
sub esp, 0x10
mov esi, eax
lea eax, [ebp - 0x168]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x174]
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x16c]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_DuplicateHandle]
mov dword [ebp - 0x178], eax
call eax
sub esp, 0x1c
test eax, eax
je 0x10016d6b
lea eax, [ebp - 0x164]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x174]
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x170]
mov dword [esp], 0xffffffff
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x178]
call ecx
sub esp, 0x1c
test eax, eax
jne 0x10016f18
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x10016d87
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x10016d9d
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
test esi, esi
je 0x10016dad
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
test byte [0x1001c08c], 2
jne 0x10016fd0
mov dword [ebp - 0x170], 0
xor esi, esi
mov dword [ebp - 0x16c], 0
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x170]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x184]
mov dword [esp], eax
call sym._CreateLobbyMessageReceptionThread
mov dword [edi + 0x3c], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call sym._DPLAYX_SetLobbyMsgThreadId
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x148]
mov edi, dword [ebp - 0x180]
sub esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ResumeThread]
sub esp, 4
cmp eax, 1
je 0x10016b9b
test byte [0x1001c08c], 2
je 0x10016b9b
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ResumeThread_failed_with_0x_08lx_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_RunApplication
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x180]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p____0x_08lx__p__p__p__n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_RunApplication
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x10016940
mov eax, dword [ebp - 0x148]
mov dword [esp + 0xc], str.Unable_to_create_global_application_data_for_0x_08lx_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_RunApplication
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10016b4f
lea eax, [ebp - 0x160]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x174]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
mov ecx, dword [ebp - 0x178]
call ecx
sub esp, 0x1c
test eax, eax
je 0x10016d6b
mov eax, dword [ebp - 0x160]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x164]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x168]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x188]
mov dword [esp], eax
call sym._DPLAYX_SetLobbyHandles
jmp 0x10016dd0
mov dword [esp], eax
call sym._DPLAYX_HresultToString
mov dword [esp + 0xc], str.SetConnectionSettings_failure__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_RunApplication
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10016b89
mov dword [esp + 0xc], str.Unable_to_dup_handles_n
mov dword [esp + 8], str.DPL_CreateAndSetLobbyHandles
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10016dba
mov ebx, 0x80070057
jmp 0x10016b9b
test byte [0x1001c08c], 2
jne 0x10017056
mov eax, dword [ebp - 0x170]
mov ebx, 0x887703f2
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x17c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x10016b9b
mov eax, dword [ebp - 0x170]
mov dword [esp + 0xc], str.Failed_to_create_process_for_app__s_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_RunApplication
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10017019