Function at 0x432140
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x460656
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
push 0xe9
mov dword [esp + 0x28], ebx
call fcn.004403a0
lea edi, [esi + 0x90]
mov ecx, edi
mov byte [esp + 0x24], 1
mov dword [esi], fcn.00441584
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x469bc8
lea edi, [esi + 0xe4]
mov ecx, edi
mov byte [esp + 0x24], 2
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x469bc8
lea edi, [esi + 0x138]
mov ecx, edi
mov byte [esp + 0x24], 3
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x466f50
lea edi, [esi + 0x18c]
mov ecx, edi
mov byte [esp + 0x24], 4
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x467ef0
lea edi, [esi + 0x1e0]
mov ecx, edi
mov byte [esp + 0x24], 5
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x469250
lea edi, [esi + 0x234]
mov ecx, edi
mov byte [esp + 0x24], 6
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x469250
lea edi, [esi + 0x288]
mov ecx, edi
mov byte [esp + 0x24], 7
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x46a530
lea edi, [esi + 0x2dc]
mov ecx, edi
mov byte [esp + 0x24], 8
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x466af0
lea edi, [esi + 0x348]
mov ecx, edi
mov byte [esp + 0x24], 9
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x46d488
lea ecx, [esi + 0x39c]
mov byte [esp + 0x24], 0xa
call sub.MFC71.DLL_CImageList::CImageList
lea ecx, [esi + 0x3a4]
mov byte [esp + 0x24], 0xb
call sub.MFC71.DLL_CImageList::CImageList
lea ecx, [esi + 0x3ac]
mov byte [esp + 0x24], 0xc
call sub.MFC71.DLL_CImageList::CImageList
lea ecx, [esi + 0x3cc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [esi + 0x3d0], ebx
lea edi, [esi + 0x400]
mov ecx, edi
mov byte [esp + 0x24], 0xe
call sub.MFC71.DLL_CWnd::CWnd
mov dword [edi], 0x469bc8
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0xf
call fcn.00433210
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
lea edi, [esi + 0x330]
push edi
mov byte [esp + 0x28], 0x10
mov dword [esi + 0x344], ecx
mov dword [esi + 0x3f8], eax
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3fc], ebx
call fcn.0041fa70
cmp dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x34]
mov word [edi], 1
mov word [esi + 0x33e], cx
je 0x43230a
mov word [esi + 0x332], 2
jmp 0x432313
mov word [esi + 0x332], 1
movzx eax, word [esi + 0x332]
movzx ecx, cx
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx edx, ax
imul edx, dword [esi + 0x334]
lea ebp, [esi + 0x3d0]
push ebp
push 0x467308
push 0x17
push ebx
push 0x465604
mov word [esi + 0x33c], ax
mov dword [esi + 0x338], edx
mov word [esi + 0x340], bx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp], ebx
jne 0x432373
push 0xffffffffffffffff
push ebx
push 0x83
call sub.MFC71.DLL_AfxMessageBox
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x3cc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
push 1
push str.Audio
lea ecx, [esp + 0x34]
mov byte [esi + 0x3b4], bl
mov byte [esi + 0x3b6], 1
mov byte [esi + 0x3b5], 1
mov byte [esi + 0x3b7], bl
mov byte [esi + 0x3b8], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push str.SoftwareAheadShared_
push ecx
mov byte [esp + 0x38], 0x11
call fcn.0040af90
add esp, 0xc
push reloc.DSOUND.dll_DirectSoundCreate
lea ecx, [esp + 0x20]
call fcn.00433220
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0x10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.InputDevice
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x1c]
call fcn.00433420
mov ecx, dword [esi + 0x344]
mov dword [esi + 0x3d4], eax
call fcn.00420170
mov ecx, dword [esi + 0x344]
mov dword [esi + 0x3d8], eax
call fcn.00420170
mov edx, dword [esp + 0x40]
mov ecx, dword [edi]
mov dword [esi + 0x3dc], eax
mov dword [esi + 0x3f0], edx
mov edx, dword [edi + 4]
lea eax, [esi + 0x3b9]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov cx, word [edi + 0x10]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea ecx, [esp + 0x14]
mov dword [esi + 0x3e8], 0xffffffff
mov byte [esi + 0x3ec], bl
mov byte [esi + 0x3ed], bl
mov byte [esp + 0x24], 0xf
call fcn.00433550
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x18