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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x164], 0x64
push esi
push edi
jne 0x461a16
push 0
mov eax, ebx
call fcn.00487c15
test al, al
je 0x461a16
call fcn.004434ea
movzx esi, byte [eax + 0x8e]
call fcn.004434ea
movzx eax, byte [eax + 0x8a]
sub eax, esi
cmp eax, 3
jl 0x461a16
mov eax, dword [0x577b24]
inc eax
push eax
lea eax, [esp + 0x3c]
push str.gameplay_d
push eax
call fcn.004e116e
add esp, 0xc
call fcn.004434ea
add eax, 0x8e
add byte [eax], 3
and dword [esp + 0x18], 0
lea eax, [ebx + 0x9c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xa0]
lea edi, [esp + 0x30]
lea esi, [esp + 0xc]
mov dword [esp + 0x34], eax
call fcn.0041d163
test al, al
je 0x46191b
call fcn.00419ec0
mov ecx, dword [eax]
call fcn.00459639
test al, al
je 0x461905
call fcn.00419ec0
mov edi, dword [eax]
add edi, 8
call fcn.00419ec0
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x461905
lea edi, [ebx + 0x44]
mov eax, edi
call fcn.0041ae5a
mov esi, eax
call fcn.004e0031
xor edx, edx
div esi
mov esi, edx
call fcn.00458652
mov eax, dword [eax]
lea esi, [esp + 0xc]
lea edi, [eax + 0xc]
call fcn.00419ec0
mov dword [esp + 0x20], eax
call fcn.00419ec0
fild dword [esp + 0x18]
push 2
push ecx
fmul qword [0x544490]
mov dword [esp + 0x1c], eax
mov eax, edi
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
push 1
call fcn.00412c16
mov esi, eax
call fcn.004e0031
xor edx, edx
div esi
mov esi, edx
call fcn.004196a7
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx]
push dword [ecx + 8]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
call fcn.0047a301
lea esi, [esp + 0xc]
call fcn.00419ec0
mov edi, eax
call fcn.00419ec0
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [edi]
mov dword [eax + 0x3c], ecx
call fcn.00419ec0
mov eax, dword [eax]
mov byte [eax + 0x76], 1
call fcn.00419ec0
mov eax, dword [eax]
mov byte [eax + 0x77], 0
mov byte [eax + 0x78], 0
call fcn.00419ec0
mov eax, dword [eax]
mov dword [ebx + 0x200], eax
dec dword [esp + 0x18]
lea edi, [esp + 0x24]
lea esi, [esp + 0xc]
call fcn.0041d180
jmp 0x4617f5
fld dword [0x543c84]
push str.fx_shuffle.cug
fstp dword [ebx + 0x1bc]
xor esi, esi
fld dword [0x5442e0]
push ecx
fstp dword [ebx + 0x1c8]
mov dword [ebx + 0xd4], esi
call fcn.004064de
pop ecx
mov ecx, eax
call fcn.00406d85
push 0x9c
mov dword [esp + 0x18], eax
call fcn.004e0321
cmp eax, esi
pop ecx
je 0x461999
fld dword [0x543fe4]
sub esp, 0xc
fstp dword [esp + 0x30]
mov edi, esp
fld dword [0x544be4]
lea esi, [esp + 0x30]
fstp dword [esp + 0x34]
push str.shuffle
fldz
mov ebx, eax
fstp dword [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040ff69
mov edi, eax
xor esi, esi
jmp 0x46199b
xor edi, edi
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push esi
push esi
push 0xffffffffffffffff
push edi
call dword [eax + 0x10]
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
push esi
push esi
push 1
push edi
call dword [eax + 0x10]
fld1
sub esp, 0xc
fst dword [esp + 8]
fldz
mov byte [edi + 0x9b], 1
fstp dword [esp + 4]
fstp dword [esp]
push str.sfx_shuffle.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
mov eax, dword [0x57b4d8]
mov edi, dword [0x57b54c]
mov byte [eax + 0x144], 1
mov byte [eax + 0x145], 1
call fcn.0046c92f
mov eax, dword [0x57b4d8]
cmp eax, esi
je 0x461a16
fld dword [0x5446b8]
fstp dword [eax + 0xb8]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e0010
mov esp, ebp
pop ebp
ret