Function at 0x432630
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4e2fdc]
push ebx
mov eax, dword [eax + 0x318]
push esi
add eax, 0x28
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4e2fdc]
mov eax, dword [ecx + 0x318]
test eax, eax
je 0x432842
mov ecx, dword [0x4e78d4]
cmp ecx, eax
jne 0x432842
mov esi, dword [esp + 0x220]
test esi, esi
je 0x4327f8
mov eax, dword [0x4e78d8]
cmp eax, esi
jne 0x4327f8
mov ecx, dword [esi]
test ecx, ecx
je 0x4327ae
mov eax, dword [0x4e78dc]
cmp eax, ecx
jne 0x4327ae
mov eax, dword [0x4e1a70]
mov ebp, dword [esp + 0x224]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
mov edx, dword [0x4e1a6c]
lea edi, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push 1
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x24], ebx
push eax
push ecx
mov edi, dword [ecx]
call dword [edi + 0x64]
cmp eax, 0x8877001e
mov edi, eax
jne 0x43272d
mov eax, dword [0x4e1a6c]
test eax, eax
je 0x4326f9
push eax
call fcn.004be0e0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [0x4e1a70], ebx
push eax
call fcn.004be150
add esp, 4
mov dword [0x4e1a6c], eax
test eax, eax
jne 0x43271c
mov edi, 0x8007000e
jmp 0x432725
mov eax, dword [esp + 0x10]
mov dword [0x4e1a70], eax
cmp edi, 0x8877001e
je 0x4326b6
test edi, edi
jl 0x43278c
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x432784
mov ecx, dword [0x4e1a6c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edx
xor eax, eax
mov al, byte [ecx]
lea ecx, [esp + 0x124]
push eax
push str.::THREAD::_Receive_message_of_type__x_from__d_to_d_n
push ecx
call fcn.004bd200
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add esp, 0x14
push ebp
push ecx
push edx
mov ecx, dword [0x4e1a6c]
push eax
push ecx
push esi
call fcn.00432900
add esp, 0x18
test edi, edi
jge 0x4326b6
mov eax, dword [0x4e2fdc]
mov eax, dword [eax + 0x318]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
mov eax, dword [0x4e78dc]
push eax
push ecx
lea ecx, [esp + 0x24]
push str.lpDPInfo__LpDirectPlay3A_invalid__0x_x__Global0x_x__n
push ecx
call fcn.004bd200
lea ecx, [esp + 0x2c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x4e2fdc]
mov eax, dword [ecx + 0x318]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80070057
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
mov eax, dword [0x4e78d8]
lea ecx, [esp + 0x1c]
push eax
push esi
push str.LpDpInfo_invalid__0x_x__Global0x_x__n
push ecx
call fcn.004bd200
lea ecx, [esp + 0x2c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x4e2fdc]
mov eax, dword [ecx + 0x318]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80070057
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
mov ecx, dword [0x4e78d4]
push ecx
push eax
lea eax, [esp + 0x24]
push str.LpGame__LpDPInterface_invalid__0x_x__Global0x_x__n
push eax
call fcn.004bd200
lea ecx, [esp + 0x2c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x4e2fdc]
mov eax, dword [ecx + 0x318]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80070057
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20c
ret