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

Disassembly:
push 0xffffffffffffffff
push 0x650970
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
push 5
xor esi, esi
push str.Sound
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], esi
mov byte [esp + 0x6c], 0
call fcn.00402300
mov eax, dword [esp + 0xb4]
push eax
lea edi, [esp + 0x80]
mov dword [esp + 0xa8], esi
call fcn.004e70c0
add esp, 4
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
mov ebx, 1
lea ecx, [esp + 0x34]
mov edx, eax
mov byte [esp + 0xac], bl
call fcn.004f1b60
mov edi, 0x10
cmp dword [esp + 0x94], edi
mov byte [esp + 0x18], al
jb 0x5683eb
mov eax, dword [esp + 0x80]
push eax
call fcn.0062493b
add esp, 4
mov dword [esp + 0xa4], 0xffffffff
cmp dword [esp + 0x78], edi
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], esi
mov byte [esp + 0x80], 0
jb 0x568423
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0062493b
add esp, 4
cmp byte [esp + 0x18], 0
je 0x568550
mov edx, dword [esp + 0x20]
mov edi, 4
lea ecx, [esp + 0x40]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.004f2200
mov edi, 2
lea ecx, [esp + 0x18]
call fcn.004f2200
mov edi, 4
lea ecx, [esp + 0x5c]
call fcn.004f2200
mov edi, 2
lea ecx, [esp + 0x24]
call fcn.004f2200
lea ecx, [esp + 0x58]
call fcn.004f2200
mov edi, 4
lea ecx, [esp + 0x58]
call fcn.004f2200
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xb0]
mov cx, word [esp + 0x18]
mov dword [ebp + eax*4 + 0x2008], edi
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov esi, dword [esp + 0x5c]
mov word [esp + 0x30], bx
mov bx, word [esp + 0x24]
mov word [esp + 0x32], cx
movzx ecx, cx
movzx eax, bx
imul eax, ecx
mov ecx, dword [esp + 0xb0]
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx edx, ax
mov word [esp + 0x3c], ax
imul edx, esi
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x3094]
push 0
lea ebp, [ebp + ecx*4 + 4]
push ebp
mov dword [esp + 0x40], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x3c], esi
mov word [esp + 0x46], bx
mov dword [esp + 0x4c], 0x14
mov dword [esp + 0x50], 0x80ea
mov dword [esp + 0x54], edi
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
test eax, eax
je 0x56856e
mov eax, dword [esp + 0x20]
push eax
call fcn.004f1d70
xor al, al
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0xc
mov eax, dword [ebp]
mov ecx, dword [eax]
push 0
push 0
push 0
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x38]
push edx
push edi
push 0
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
je 0x568597
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x56854b
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0x1c]
call fcn.004f2200
mov edx, dword [esp + 0x20]
push edx
call fcn.004f1d70
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ebp]
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
mov eax, dword [eax + 0x4c]
push 0
push 0
push ecx
push edx
push ebp
call eax
test eax, eax
sete al
jmp 0x568552