Function at 0x40dbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x431f5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x74
call sub.mfc90.dll_Ordinal_798
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp esi, ebx
je 0x40dc67
push esi
call fcn.0040d7a0
mov dword [esi + 0x5c], vtable.SaBGMFileExporterEventListener.0
mov dword [esi + 0x60], vtable.VzAudioConverterEventListener.0
mov dword [esi + 0x64], vtable.VzCDDARipperEventListener.0
mov dword [esi], vtable.VzAudioConvertWrapper.0
mov dword [esi + 0x5c], vtable.VzAudioConvertWrapper.1.0
mov dword [esi + 0x60], vtable.VzAudioConvertWrapper.2.0
mov dword [esi + 0x64], vtable.VzAudioConvertWrapper.3.0
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
jmp 0x40dc69
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
mov ebp, esi
cmp esi, ebx
je 0x40dd27
call fcn.004231f0
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x40dc97
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
xor ebp, ebp
push 0x434b17
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x30], 1
call fcn.0040d870
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x30], 2
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.mfc90.dll_Ordinal_2539]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x434bac
push eax
call edi
lea ecx, [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x1c], ebx
test ecx, ecx
je 0x40dd04
mov edx, ecx
push edx
call fcn.00425330
mov ebx, dword [esp + 0x20]
add esp, 4
test ebx, ebx
jne 0x40dd3e
cmp ebp, ebx
je 0x40dd13
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
mov esi, dword [esp + 0x38]
movsx eax, byte [esi + 8]
cmp eax, 0x19
ja 0x40dd4d
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x62
ja 0x40dd58
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40dd6a
push eax
lea ecx, [ebx + 8]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x434b27
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x30], 3
mov eax, dword [esi + 0xc]
inc eax
push eax
lea ecx, [esp + 0x14]
push 0x434bb8
push ecx
call edi
mov ecx, dword [esp + 0x48]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
add ecx, 0x10
call dword [sym.imp.mfc90.dll_Ordinal_817]
push 0x434b37
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea esi, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.0040efc0
mov byte [esp + 0x30], 5
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call edi
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x30], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x20]
push eax
lea ecx, [ebx + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edi, dword [esp + 0x24]
call fcn.004107e0
mov esi, ebx
call fcn.004252f0
mov esi, ebp
call fcn.0040aff0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
inc edx
push edx
push ecx
add eax, 4
push str._s_02d__s.wav
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x14
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8