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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov edx, dword [eax]
push ebx
and ecx, 0xfffeffff
or ecx, edx
push esi
push edi
jne 0x4a79da
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 8]
or edx, ecx
mov ecx, dword [eax + 4]
or edx, ebx
or edx, edi
or edx, esi
or edx, ecx
jne 0x4a79da
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x30]
mov ebx, dword [eax + 0x28]
mov edi, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
or ecx, edx
mov edx, dword [eax + 0x1c]
or ecx, ebx
or ecx, edi
or ecx, esi
or ecx, edx
jne 0x4a79da
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x40]
mov edi, dword [eax + 0x3c]
mov esi, dword [eax + 0x38]
or edx, ecx
mov ecx, dword [eax + 0x34]
or edx, ebx
or edx, edi
or edx, esi
or edx, ecx
jne 0x4a79da
mov edx, dword [eax + 0x5c]
mov ecx, dword [eax + 0x60]
mov ebx, dword [eax + 0x58]
mov edi, dword [eax + 0x54]
mov esi, dword [eax + 0x50]
or ecx, edx
mov edx, dword [eax + 0x4c]
or ecx, ebx
or ecx, edi
or ecx, esi
or ecx, edx
jne 0x4a79da
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x70]
mov edi, dword [eax + 0x6c]
mov esi, dword [eax + 0x68]
or edx, ecx
mov ecx, dword [eax + 0x64]
or edx, ebx
or edx, edi
or edx, esi
or edx, ecx
jne 0x4a79da
pop edi
pop esi
mov dword [eax + 0x7c], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea eax, [0x542a58]
lea edi, [ebp - 0x228]
mov ebx, 8
mov edi, edi
movzx edx, byte [esi + 2]
mov ecx, dword [esi + 4]
or edx, dword [esi + 8]
or ecx, dword [esi + 0xc]
or edx, ecx
mov ecx, 4
jne 0x4a7a30
fild word [esi]
fmul qword [eax]
fst qword [edi]
fst qword [edi + 8]
fst qword [edi + 0x10]
fst qword [edi + 0x18]
fst qword [edi + 0x20]
fst qword [edi + 0x28]
fst qword [edi + 0x30]
fstp qword [edi + 0x38]
add edi, 0x40
jmp 0x4a7ae4
fild word [esi]
fmul qword [eax]
fild word [esi + 2]
fmul qword [eax + 0x40]
faddp st(1)
fild word [esi + 4]
fmul qword [eax + 0x80]
faddp st(1)
fild word [esi + 6]
fmul qword [eax + 0xc0]
faddp st(1)
fild word [esi + 8]
fmul qword [eax + 0x100]
faddp st(1)
fild word [esi + 0xa]
fmul qword [eax + 0x140]
faddp st(1)
fild word [esi + 0xc]
fmul qword [eax + 0x180]
faddp st(1)
fild word [esi + 0xe]
fmul qword [eax + 0x1c0]
faddp st(1)
fild word [esi]
fmul qword [eax + 8]
fild word [esi + 2]
fmul qword [eax + 0x48]
faddp st(1)
fild word [esi + 4]
fmul qword [eax + 0x88]
faddp st(1)
fild word [esi + 6]
fmul qword [eax + 0xc8]
faddp st(1)
fild word [esi + 8]
fmul qword [eax + 0x108]
faddp st(1)
fild word [esi + 0xa]
fmul qword [eax + 0x148]
faddp st(1)
fild word [esi + 0xc]
fmul qword [eax + 0x188]
faddp st(1)
fild word [esi + 0xe]
fmul qword [eax + 0x1c8]
faddp st(1)
add eax, 0x10
fxch st(1)
fstp qword [edi]
fstp qword [edi + 8]
add edi, 0x10
dec ecx
jne 0x4a7a30
add eax, 0xffffffc0
add esi, 0x10
sub ebx, reloc.DSOUND.dll_DirectSoundCreate
js 0x4a79f0
test ebx, ebx
jne 0x4a79f0
lea esi, [ebp - 0x228]
lea eax, [0x542a58]
lea edi, [ebp - 0x428]
fld qword [0x50e258]
mov ebx, 8
mov ecx, 4
lea ecx, [ecx]
fld qword [esi]
fmul qword [eax]
fld qword [esi + 0x40]
fmul qword [eax + 0x40]
faddp st(1)
fld qword [esi + 0x80]
fmul qword [eax + 0x80]
faddp st(1)
fld qword [esi + 0xc0]
fmul qword [eax + 0xc0]
faddp st(1)
fld qword [esi + 0x100]
fmul qword [eax + 0x100]
faddp st(1)
fld qword [esi + 0x140]
fmul qword [eax + 0x140]
faddp st(1)
fld qword [esi + 0x180]
fmul qword [eax + 0x180]
faddp st(1)
fld qword [esi + 0x1c0]
fmul qword [eax + 0x1c0]
faddp st(1)
fadd st(1)
fxch st(1)
fld qword [esi]
fmul qword [eax + 8]
fld qword [esi + 0x40]
fmul qword [eax + 0x48]
faddp st(1)
fld qword [esi + 0x80]
fmul qword [eax + 0x88]
faddp st(1)
fld qword [esi + 0xc0]
fmul qword [eax + 0xc8]
faddp st(1)
fld qword [esi + 0x100]
fmul qword [eax + 0x108]
faddp st(1)
fld qword [esi + 0x140]
fmul qword [eax + 0x148]
faddp st(1)
fld qword [esi + 0x180]
fmul qword [eax + 0x188]
faddp st(1)
fld qword [esi + 0x1c0]
fmul qword [eax + 0x1c8]
faddp st(1)
fadd st(1)
add eax, 0x10
fxch st(2)
fstp qword [edi]
fxch st(1)
fstp qword [edi + 0x40]
add edi, 0x80
dec ecx
jne 0x4a7b20
add eax, 0xffffffc0
add esi, 8
add edi, 0xfffffe08
sub ebx, reloc.DSOUND.dll_DirectSoundCreate
js 0x4a7b18
test ebx, ebx
jne 0x4a7b18
ffree st(0)
wait
fnstcw word [ebp - 8]
movzx eax, word [ebp - 8]
or eax, 0x400
mov word [ebp - 4], ax
fldcw word [ebp - 4]
lea esi, [ebp - 0x428]
mov edi, dword [ebp + 8]
mov ebx, 0xffffff00
mov edx, 0xff
mov ecx, 8
mov edi, edi
fld qword [esi]
fistp dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 8]
fistp dword [ebp - 0x18]
mov word [edi], ax
mov eax, dword [ebp - 0x18]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 0x10]
fistp dword [ebp - 0x10]
mov word [edi + 2], ax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 0x18]
fistp dword [ebp - 0x28]
mov word [edi + 4], ax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 0x20]
fistp dword [ebp - 0xc]
mov word [edi + 6], ax
mov eax, dword [ebp - 0xc]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 0x28]
fistp dword [ebp - 0x24]
mov word [edi + 8], ax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 0x30]
fistp dword [ebp - 0x14]
mov word [edi + 0xa], ax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
fld qword [esi + 0x38]
fistp dword [ebp - 0x1c]
mov word [edi + 0xc], ax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
cmovl eax, ebx
cmp eax, edx
cmovg eax, edx
mov word [edi + 0xe], ax
add esi, 0x40
add edi, 0x10
sub ecx, reloc.DSOUND.dll_DirectSoundCreate
js 0x4a7c50
test ecx, ecx
jne 0x4a7c50
fldcw word [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret