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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x869758
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xbc]
mov eax, dword [eax + 0x1c]
xor esi, esi
cmp eax, esi
je 0x441520
mov ecx, dword [eax + 4]
push 0x4039f0
call fcn.005d59f0
mov dword [esp + 0x10], eax
jmp 0x441524
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov eax, dword [edi + 0x68]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 1
call fcn.00438920
mov eax, dword [edi + 0x68]
push eax
lea ecx, [esp + 0x48]
call fcn.00438b20
mov ebx, dword [edi + 0x60]
mov eax, dword [edi + 0x68]
mov ecx, ebx
lea edx, [ecx + eax*4]
cmp ebx, edx
je 0x441670
mov esi, dword [ebx]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
mov eax, dword [eax]
cmp eax, dword [0x92c4f4]
sete al
test al, al
jne 0x44165a
mov ecx, dword [esi + 4]
push 0x4038e0
call fcn.005d59f0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x44165a
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x34]
test al, al
jne 0x44165a
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
push esi
call dword [eax + 0x4c]
test al, al
jne 0x44165a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xbc]
fsub dword [eax + 0x10]
add eax, 0x10
test ecx, ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [eax + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fsub dword [eax + 8]
fstp dword [esp + 0x24]
je 0x441634
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x20]
push eax
call dword [edx + 0xa4]
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 0x38]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.0043c550
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
call fcn.0043c630
mov edx, dword [edi + 0x68]
mov eax, dword [edi + 0x60]
add ebx, 4
lea ecx, [eax + edx*4]
cmp ebx, ecx
jne 0x441578
xor esi, esi
mov ebp, dword [esp + 0x38]
cmp ebp, esi
je 0x441687
mov ebx, dword [esp + 0x3c]
mov eax, ebx
sub eax, ebp
sar eax, 2
cmp eax, esi
jne 0x4416e7
mov edi, dword [esp + 0x48]
cmp edi, esi
mov byte [esp + 0x88], 0
je 0x4416c0
mov ecx, dword [esp + 0x50]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
push esi
shl edx, 2
push edx
push edi
mov ecx, 0x925b30
call fcn.005d0370
cmp ebp, esi
mov dword [esp + 0x88], 0xffffffff
je 0x4418af
mov eax, dword [esp + 0x40]
sub eax, ebp
sar eax, 2
push esi
shl eax, 2
push eax
push ebp
jmp 0x4418a5
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 2
call fcn.00438c60
cmp dword [esp + 0x38], ebx
je 0x4417fa
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
lea esp, [esp]
mov eax, 0x2aaaaaab
imul esi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, esi
and edx, reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x10], ecx
jns 0x441771
dec edx
or edx, 0xfffffffe
inc edx
shl edx, 1
mov eax, 1
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
inc eax
cdq
mov ecx, 3
idiv ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
dec edx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmul dword [0x8908e8]
fild dword [esp + 0x14]
fmul dword [0x890da4]
fadd dword [0x890dc0]
fimul dword [esp + 0x1c]
fxch st(1)
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov edx, dword [0x91ddbc]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], edx
call fcn.0043c6b0
add ebp, 4
inc esi
cmp ebp, ebx
jne 0x441750
push 0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.004407e0
mov esi, dword [esp + 0x58]
test esi, esi
mov byte [esp + 0x88], 1
je 0x44184c
mov ecx, dword [esp + 0x60]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x1c
push 0
push eax
push esi
mov ecx, 0x925b30
call fcn.005d0370
mov esi, dword [esp + 0x48]
test esi, esi
mov byte [esp + 0x88], 0
je 0x441886
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
push 0
shl ecx, 2
push ecx
push esi
mov ecx, 0x925b30
call fcn.005d0370
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
sub edx, eax
sar edx, 2
push 0
shl edx, 2
push edx
mov dword [esp + 0x90], 0xffffffff
push eax
mov ecx, 0x925b30
call fcn.005d0370
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret