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

Disassembly:
push 0xffffffffffffffff
push 0x78ba20
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
push 5
mov esi, ecx
xor edi, edi
push str.Sound
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
call fcn.004016e0
mov dword [esp + 0xb0], edi
push esi
lea edi, [esp + 0x68]
call fcn.00439480
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x30]
mov edx, eax
mov byte [esp + 0xb8], 1
call fcn.00595ff0
mov esi, 0x10
mov bl, al
cmp dword [esp + 0x7c], esi
jb 0x594782
mov eax, dword [esp + 0x68]
push eax
call fcn.006441c7
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
cmp dword [esp + 0x60], esi
jb 0x5947b5
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.006441c7
add esp, 4
test bl, bl
je 0x59491e
mov edx, dword [esp + 0x18]
mov edi, 4
lea ecx, [esp + 0x3c]
lea esi, [esp + 0x14]
mov dword [esp + 0x14], edx
call fcn.005966a0
mov edi, 2
lea ecx, [esp + 0x1c]
call fcn.005966a0
mov edi, 4
lea ecx, [esp + 0x44]
call fcn.005966a0
mov edi, 2
lea ecx, [esp + 0x20]
call fcn.005966a0
lea ecx, [esp + 0x40]
call fcn.005966a0
mov edi, 4
lea ecx, [esp + 0x40]
call fcn.005966a0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0xbc]
mov bx, word [esp + 0x20]
mov dword [ebp + eax*4 + 0x20008], edi
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov ecx, 1
mov word [esp + 0x2c], cx
mov cx, word [esp + 0x1c]
mov esi, dword [esp + 0x44]
movzx edx, cx
movzx eax, bx
imul eax, edx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0xbc]
sar eax, 3
mov word [esp + 0x38], ax
movzx eax, ax
imul eax, esi
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x3010c]
push 0
lea ebp, [ebp + edx*4 + 4]
mov word [esp + 0x32], cx
push ebp
lea ecx, [esp + 0x34]
lea edx, [esp + 0x88]
mov dword [esp + 0x38], esi
mov word [esp + 0x42], bx
mov dword [esp + 0x88], 0x24
mov dword [esp + 0x8c], 0x80ea
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x59494a
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005961e0
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00643db8
add esp, 0xa0
ret 8
mov eax, dword [ebp]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x34]
push ecx
push edi
push 0
push eax
call edx
test eax, eax
je 0x594973
mov eax, dword [esp + 0x18]
push eax
jmp 0x594919
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x14]
call fcn.005966a0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005961e0
mov eax, dword [esp + 0x28]
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp]
mov edx, dword [edx + 0x4c]
push 0
push 0
push eax
push ecx
push ebp
call edx
test eax, eax
sete al
jmp 0x594920