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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x4e0], edi
mov dword [ebp - 0x4ec], eax
call fcn.004d05c0
test eax, eax
jne 0x4604eb
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x24], 0
push ebx
je 0x460567
cmp dword [0xc32c58], 0
je 0x46060a
test edi, edi
js 0x46060a
mov eax, edi
and eax, 0x7c000000
cmp eax, dword [0xc32c80]
jne 0x46060a
mov ebx, edi
and ebx, 0x3ffff
cmp ebx, dword [0xc32c88]
jge 0x46060a
mov eax, dword [0xc32c5c]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
je 0x46060a
mov eax, dword [ebx]
mov ecx, edi
and ecx, 0x3fc0000
shl eax, 0x12
cmp eax, ecx
je 0x4605ea
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
cmp dword [0xc32c58], 0
je 0x46060a
test edi, edi
js 0x46060a
mov eax, edi
and eax, 0x7c000000
cmp eax, dword [0xc32c80]
jne 0x46060a
mov eax, edi
and eax, 0x3ffff
cmp eax, dword [0xc32c88]
jge 0x46060a
lea ecx, [eax*4]
mov eax, dword [0xc32c5c]
mov dword [ebp - 0x4d8], ecx
mov ebx, dword [ecx + eax]
test ebx, ebx
je 0x46060a
mov eax, dword [ebx]
mov ecx, edi
and ecx, 0x3fc0000
shl eax, 0x12
cmp eax, ecx
jne 0x46060a
cmp dword [ebx + 0x10], 0
je 0x4605ea
push dword [ebx + 0x18]
call fcn.0047af10
add esp, 4
test eax, eax
js 0x46060a
mov eax, dword [0xc32c5c]
mov ecx, dword [ebp - 0x4d8]
cmp dword [ecx + eax], 0
je 0x46060a
mov eax, dword [ebx + 0x27d4]
test eax, eax
jle 0x460660
cmp dword [ebx + 0x1444], 1
je 0x46061e
push 0x6ba0e0
call fcn.00459730
add esp, 4
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x4d8]
push eax
push ebx
push edi
call fcn.00462a80
add esp, 0x10
test eax, eax
jne 0x46064e
push dword [ebp - 0x4d8]
call fcn.004686a0
add esp, 4
test eax, eax
je 0x46064e
push 0x6ba140
jmp 0x460602
mov eax, dword [ebx + 0x27d4]
cmp eax, 3
jne 0x460660
push 0x6ba188
jmp 0x460602
imul edi, eax, 0x4d8
push 0x4d8
push 0
add edi, 0x1470
add edi, ebx
push edi
mov dword [ebp - 0x4d8], edi
call fcn.00497290
mov eax, dword [ebp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x4dc]
push 0
push 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0xffffffff
push 0
push dword [eax + 0x18]
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp + 0x18]
add esp, 0x1c
sub eax, 0
je 0x460891
sub eax, 2
je 0x460776
sub eax, 1
jne 0x460a1e
mov dword [ebx + 0x27e8], 1
lea ecx, [edi + 0x48]
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x30], eax
push dword [esi + 0x4c]
mov eax, dword [ebp - 0x4dc]
push dword [esi + 0x48]
push dword [esi + 0x44]
push eax
push ecx
call fcn.00498360
add esp, 0x14
test eax, eax
jns 0x46070f
push 0x6ba204
call fcn.00459c80
jmp 0x460607
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x30]
jne 0x460765
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0x34]
jne 0x460765
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x38]
jne 0x460765
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x3c]
jne 0x460765
cmp dword [esi + 0x40], 0
jne 0x460765
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00498030
add esp, 0xc
test eax, eax
js 0x460765
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x4e4]
mov dword [eax], 0
jmp 0x460a1e
lea ecx, [ebp - 0x4d8]
push ecx
lea eax, [edi + 8]
push eax
mov eax, dword [ebp - 0x4dc]
push eax
call fcn.0046a6f0
add esp, 0xc
test eax, eax
js 0x4608b2
mov eax, dword [ebp - 0x4d8]
push eax
push dword [edi + 8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
call fcn.0045f800
mov dword [edi + 0x30], eax
call fcn.0045f700
lea ecx, [edi + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [edi + 0x48]
movq qword [ecx + 0x10], xmm0
push dword [esi + 0x4c]
push dword [esi + 0x48]
push dword [esi + 0x44]
push ecx
push eax
call fcn.00498360
add esp, 0x1c
test eax, eax
jns 0x46081e
push dword [edi + 0x30]
call fcn.0045e550
push dword [edi + 8]
call fcn.0045a740
push 0x6ba204
mov dword [edi + 8], 0
call fcn.00459c80
add esp, 0xc
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x30]
jne 0x460a12
mov eax, dword [esi + 0x24]
cmp eax, dword [esi + 0x34]
jne 0x460a12
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x38]
jne 0x460a12
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x3c]
jne 0x460a12
cmp dword [esi + 0x40], 0
jne 0x460a12
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00498030
add esp, 0xc
test eax, eax
js 0x460a12
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
jmp 0x460a12
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x4e8]
push eax
mov eax, dword [ebp - 0x4dc]
push eax
call fcn.0046a6f0
add esp, 0xc
test eax, eax
jns 0x4608c1
push 0x6ba1c0
call fcn.00459c80
jmp 0x460607
push dword [ebp - 0x4f0]
mov edi, dword [ebp - 0x4e8]
push edi
call fcn.0045f800
mov dword [ebp - 0x2c], eax
call fcn.0045f700
push dword [esi + 0x4c]
push dword [esi + 0x48]
movups xmm0, xmmword [eax]
push dword [esi + 0x44]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x4d4]
movq qword [ebp - 0x34], xmm0
push eax
call fcn.00498360
mov eax, dword [ebp - 0x4d8]
lea ecx, [ebp - 8]
add eax, 8
push ecx
push eax
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.00498b40
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [ebp - 0x4d8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0
lea eax, [ebp - 0x4d4]
push eax
call fcn.00498c10
push dword [ebp - 0x2c]
call fcn.0045e550
push edi
call fcn.0045a740
add esp, 0x38
test esi, esi
jns 0x46096e
push 0x6ba1e4
call fcn.00459c80
jmp 0x460607
mov eax, dword [ebp - 0x4d8]
push dword [eax + 0x10]
push dword [eax + 8]
lea eax, [ebp - 0x28]
push 0x12
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.00462260
add esp, 0x18
test eax, eax
js 0x46060a
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x4e8]
push edi
push esi
call fcn.0045f800
mov ecx, dword [ebp - 0x4d8]
mov dword [ecx + 0x30], eax
call fcn.0045f700
mov edx, dword [ebp - 0x4d8]
lea ecx, [edx + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [ebp - 0x10]
movq qword [ecx + 0x10], xmm0
push dword [eax + 0x4c]
push dword [eax + 0x48]
push dword [eax + 0x44]
lea eax, [edx + 0x48]
push ecx
push eax
call fcn.00498360
mov eax, dword [ebp - 0x4dc]
push dword [eax]
call fcn.0045a740
mov eax, dword [ebp - 0x4dc]
add esp, 0x20
mov dword [eax], esi
mov eax, dword [ebp - 0x4d8]
mov dword [eax + 0x10], edi
mov edi, eax
mov dword [edi + 0x14], 0
mov eax, dword [ebp - 0x4e4]
mov dword [eax], 1
cmp dword [ebx + 0x27d4], 0
jne 0x460ca8
lea eax, [ebx + 0x1430]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.00497f70
mov edx, dword [ebp - 0x4ec]
add esp, 8
cmp edx, 0xffffffff
je 0x460b74
cmp dword [0xc32c58], 0
je 0x460b74
test edx, edx
js 0x460b74
mov eax, edx
and eax, 0x7c000000
cmp eax, dword [0xc32c80]
jne 0x460b74
mov eax, edx
and eax, 0x3ffff
cmp eax, dword [0xc32c88]
jge 0x460b74
lea ecx, [eax*4]
mov eax, dword [0xc32c5c]
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + eax]
test esi, esi
je 0x460b74
mov ecx, dword [esi]
mov eax, edx
shl ecx, 0x12
and eax, 0x3fc0000
cmp ecx, eax
jne 0x460b74
cmp dword [esi + 0x10], 0
je 0x460ae1
push dword [esi + 0x18]
call fcn.0047af10
add esp, 4
test eax, eax
js 0x460b74
mov eax, dword [0xc32c5c]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax], 0
je 0x460b74
cmp dword [esi + 0x1444], 1
jne 0x460b74
cmp dword [esi + 0x1450], 0xffffffff
jne 0x460b74
push 0x12
lea eax, [esi + 0x1430]
push eax
lea eax, [ebx + 0x1430]
push eax
call fcn.004971d0
add esp, 0xc
test eax, eax
jne 0x460b74
push 0x465
push str...........SourceLibraryMainDxSound.cpp
push 0x9effe0
call fcn.0047a060
push ebx
push dword [ebp - 0x4e0]
lea eax, [ebx + 0x2820]
mov dword [ebx + 0x1444], 1
push eax
push 0x9effc0
mov dword [ebx + 0x78], 1
call fcn.0049c410
push 0x9effe0
call fcn.0047a0e0
mov eax, dword [ebp - 0x4ec]
add esp, 0x20
mov dword [ebx + 0x1450], eax
inc dword [esi + 0x1454]
jmp 0x460bfa
cmp dword [ebp + 0x18], 3
mov eax, 0xd00
movzx ecx, word [ebx + 0x143c]
mov esi, 0x100
cmove esi, eax
mov eax, dword [ebx + 0x1438]
imul eax, esi
xor edx, edx
push dword [ebp + 0x24]
push 0xffffffffffffffff
push dword [ebp - 0x4e0]
shr eax, 8
dec eax
add eax, ecx
div ecx
push 1
imul eax, ecx
push 1
push eax
lea eax, [ebx + 0x1430]
push eax
call fcn.00461c60
mov eax, dword [ebx + 0x1438]
xor edx, edx
movzx ecx, word [ebx + 0x143c]
add esp, 0x1c
imul eax, esi
mov dword [ebx + 0x1450], 0xffffffff
shr eax, 8
dec eax
add eax, ecx
div ecx
imul eax, ecx
mov dword [ebx + 0x1464], eax
mov eax, dword [ebx + 0x1434]
mov dword [ebx + 0x28e4], eax
mov dword [ebx + 0x1454], 0
mov dword [ebx + 0x1458], 0xffffffff
mov dword [ebx + 0x145c], 0
mov al, byte [ebp + 0x10]
mov byte [edi], al
inc dword [ebx + 0x27d4]
cmp dword [ebx + 0x27d4], 0
mov dword [ebx + 0x27f0], 0
mov dword [ebx + 0x27f4], 0
mov dword [ebp - 0x4e0], 0
jle 0x460c95
lea edi, [ebx + 0x14b8]
push edi
call fcn.00497f90
add esp, 4
mov esi, eax
movzx eax, word [ebx + 0x143c]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.005c3920
add dword [ebx + 0x27f0], eax
mov eax, dword [ebp - 0x4e0]
adc dword [ebx + 0x27f4], edx
inc eax
add edi, 0x4d8
mov dword [ebp - 0x4e0], eax
cmp eax, dword [ebx + 0x27d4]
jl 0x460c50
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea esi, [edi + 0x48]
push esi
call fcn.00497f70
push 0x12
lea eax, [ebx + 0x1430]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004971d0
add esp, 0x14
test eax, eax
je 0x460c18
push esi
call fcn.00498c10
mov eax, dword [edi + 0x30]
add esp, 4
test eax, eax
je 0x460cf2
push eax
call fcn.0045e550
add esp, 4
mov dword [edi + 0x30], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x460d09
push eax
call fcn.0045a740
add esp, 4
mov dword [edi + 8], 0
push 0x6ba228
call fcn.00459c80
jmp 0x460607