Function at 0x1000e6e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test byte [0x1001c03c], 8
jne 0x1000e858
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1000e9f0
test esi, esi
jne 0x1000e9c0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 0x78]
test ecx, ecx
jne 0x1000e998
lea edi, [ebp - 0x1c]
mov dword [esp + 8], 0x50
mov dword [esp + 0xc], edi
mov eax, dword [ebp + 0xc]
mov dword [esp], sym._DP_GetSpLpGuidFromCompoundAddress_16
mov dword [esp + 4], eax
call sym._DPL_EnumAddress
test eax, eax
js 0x1000e9a8
mov eax, dword [ebx + 0x3c]
lea ecx, [ebp - 0x20]
lea edx, [eax + 0x30]
mov eax, edi
call sym._DP_LoadSP
mov esi, eax
test eax, eax
je 0x1000e9fa
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x3c]
test edx, edx
je 0x1000e7f0
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x4c], edx
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x50], 0x50
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x3c], edi
mov dword [esp + 4], str.SPInit
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov edi, eax
test eax, eax
je 0x1000eab8
test byte [0x1001c03c], 8
jne 0x1000e8c8
mov eax, dword [ebx + 0x3c]
add eax, 0x30
mov dword [esp], eax
call edi
sub esp, 4
mov edi, eax
test eax, eax
js 0x1000e8f8
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x58], 1
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x78], 1
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x70], esi
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x68], ecx
mov dword [esp + 4], str.DPLSPInit
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov edi, eax
test eax, eax
je 0x1000ea9e
test byte [0x1001c03c], 8
jne 0x1000e898
mov eax, dword [ebx + 0x3c]
add eax, 0x5c
mov dword [esp], eax
call edi
sub esp, 4
mov edi, eax
test eax, eax
js 0x1000e920
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x6c], 1
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x78], 2
mov eax, dword [ebx + 0x3c]
mov dword [eax + 0x74], esi
jmp 0x1000e7e2
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], str.__p_____p_0x_08lx__n
mov dword [esp + 0x14], eax
lea eax, [ebx - 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.IDirectPlay4Impl_InitializeConnection
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000e6fc
mov dword [esp + 0xc], str.Calling_DPLSPInit__DPL_SP_entry_point__n
mov dword [esp + 8], str.DP_InitializeDPLSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000e81d
mov dword [esp + 0xc], str.Calling_SPInit__DP_SP_entry_point__n
mov dword [esp + 8], str.DP_InitializeDPSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000e7b0
test byte [0x1001c03c], 2
jne 0x1000e960
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test byte [0x1001c03c], 2
je 0x1000e901
mov dword [esp], eax
call sym._DPLAYX_HresultToString
mov dword [esp + 0xc], str.DPL_SP_Initialization_failed:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DP_InitializeDPLSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000e901
mov dword [esp], eax
call sym._DPLAYX_HresultToString
mov dword [esp + 0xc], str.DP_SP_Initialization_failed:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DP_InitializeDPSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000e901
mov edi, 0x88770005
jmp 0x1000e7e4
test byte [0x1001c03c], 2
jne 0x1000e9ca
mov edi, 0x887700fa
jmp 0x1000e7e4
mov edi, 0x88770078
jmp 0x1000e7e4
mov dword [esp + 0xc], str.Invalid_compound_address__n
mov dword [esp + 8], str.IDirectPlay4Impl_InitializeConnection
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000e9b1
mov edi, 0x80070057
jmp 0x1000e7e4
test byte [0x1001c03c], 2
je 0x1000e9b1
mov eax, edi
shr eax, 0x10
je 0x1000eb0d
movzx eax, byte [ebp - 0xd]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebp - 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebp - 0xf]
mov dword [esp + 0x24], eax
movzx eax, byte [ebp - 0x10]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp - 0x11]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp - 0x12]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0x13]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp - 0x14]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0x16]
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], 0x1001e31c
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unable_to_load_service_provider__s_n
mov dword [esp + 8], str.IDirectPlay4Impl_InitializeConnection
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000e9b1
test byte [0x1001c03c], 2
jne 0x1000eae7
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
jmp 0x1000e9b1
test byte [0x1001c03c], 2
je 0x1000eaa7
mov dword [esp + 0xc], str.Service_provider_doesnt_provide_SPInit_interface__n
mov dword [esp + 8], str.DP_InitializeDPSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000eaa7
mov dword [esp + 0xc], str.Service_provider_doesnt_provide_DPLSPInit_interface__n
mov dword [esp + 8], str.DP_InitializeDPLSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000eaa7
mov dword [esp + 4], edi
mov dword [esp], 0x1001e30c
call sym._wine_dbg_sprintf_1
jmp 0x1000ea71