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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
xor eax, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 8]
push 0x733459
push str.sound
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00465fd0
mov ecx, dword [eax + 8]
and ecx, 0xff
cmp ecx, 4
jne 0x548417
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
call fcn.00465130
push eax
lea ecx, [esp + 0x44]
call fcn.0042a120
lea ecx, [esp + 0x60]
call fcn.004143d0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
sub eax, dword [esp + 0x20]
xor edi, edi
sar eax, 3
xor esi, esi
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
test eax, eax
je 0x548781
jmp 0x548504
cmp ecx, 6
jne 0x5483db
mov esi, dword [eax]
test esi, esi
je 0x54842e
mov eax, dword [esi]
xor cl, cl
mov esi, dword [esi]
xor dl, dl
mov eax, dword [eax]
jmp 0x548436
mov cl, 1
xor eax, eax
xor esi, esi
mov dl, cl
mov byte [esp + 0x1b], dl
mov byte [esp + 0x3c], cl
mov dword [esp + 0x38], eax
test cl, cl
je 0x54844a
mov cl, dl
jmp 0x54844f
cmp eax, esi
sete cl
test cl, cl
jne 0x5483d3
add eax, 0x18
lea ecx, [esp + 0x98]
push eax
call fcn.00464b00
cmp byte [esp + 0xa0], 4
jne 0x5484be
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x9c]
call fcn.00465130
push eax
lea ecx, [esp + 0x44]
call fcn.0042a120
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x5484be
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5484b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548a68
push ecx
push edx
call fcn.005ab85c
add esp, 8
lea ecx, [esp + 0x98]
call fcn.00465f40
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x5484db
push eax
call fcn.004672a0
lea ecx, [esp + 0x38]
call fcn.00428d00
mov cl, byte [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dl, byte [esp + 0x1b]
jmp 0x548442
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
lea eax, [esp + 0x60]
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
push eax
cmp ecx, edi
je 0x54856c
call fcn.004141c0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
movss xmm0, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [edx + 0x1c], eax
movss dword [edx + 0x20], xmm0
add edx, 0x24
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], edx
jmp 0x548582
push ecx
lea ecx, [esp + 0x58]
call fcn.0054aa60
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x5485b8
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5485ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548a68
push ecx
push edx
call fcn.005ab85c
add esp, 8
inc esi
cmp esi, dword [esp + 0x5c]
jb 0x548500
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
add eax, 0x1c
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
nop dword [eax]
nop word [eax + eax]
mov esi, dword [ecx + 0x1e0]
mov edi, dword [ecx + 0x1e4]
mov dword [esp + 0x30], esi
cmp esi, edi
je 0x548760
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x548612
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x54861c
mov ecx, dword [edx]
push dword [esi + 0x10]
mov edx, dword [edx + 0x10]
push eax
call fcn.004108e0
add esp, 8
test al, al
je 0x548745
mov edi, dword [esp + 0x24]
lea eax, [edi - 0x1c]
cmp eax, esi
je 0x548654
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x548648
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [edi - 0x1c]
push eax
call fcn.0040c060
mov eax, dword [esi + 0x18]
lea edx, [esi + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], eax
lea eax, [esi + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x1e4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
cmp edx, eax
je 0x5486e2
mov esi, dword [esp + 0x4c]
lea eax, [esi - 0x1c]
cmp eax, edx
je 0x5486bd
lea ecx, [esi - 0x1c]
call fcn.004143d0
mov edx, dword [esp + 0x34]
movups xmm0, xmmword [edx]
movups xmmword [esi - 0x1c], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [esi - 0xc], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [edx], 0
mov eax, dword [esi + 0x20]
add edx, 0x24
mov dword [esi - 4], eax
mov eax, dword [esi + 0x24]
mov dword [esi], eax
mov eax, dword [esi + 0x28]
mov dword [esi + 4], eax
add esi, 0x24
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x38]
jne 0x548688
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x1e4]
mov ecx, dword [edi - 0x10]
cmp ecx, 0xf
jbe 0x548720
mov eax, dword [edi - 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x548716
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548a68
mov eax, edx
push ecx
push eax
call fcn.005ab85c
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword [edi - 0x14], 0
mov dword [edi - 0x10], 0xf
mov byte [edi - 0x24], 0
add dword [ecx + 0x1e4], 0xffffffdc
mov edi, dword [ecx + 0x1e4]
jmp 0x548750
mov ecx, dword [esp + 0x14]
add esi, 0x24
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x28]
cmp esi, edi
jne 0x548608
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
add edx, 0x18
inc esi
mov dword [esp + 0x28], edx
add eax, 0x24
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x5c]
jb 0x5485f0
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0x1e4]
lea ecx, [edx + 0x1e0]
mov esi, dword [ecx]
mov dword [esp + 0x2c], ecx
cmp esi, edi
je 0x5487e4
jmp 0x5487a4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x70]
push dword [esi + 0x1c]
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [esp + 0x14]
push dword [esi + 0x18]
mov eax, dword [ecx + 0x70]
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x3c]
add esi, 0x24
cmp esi, edi
jne 0x5487a0
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x1e0]
add eax, 0x1e0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x50]
cmp ecx, eax
je 0x548806
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
sub eax, edx
sar eax, 2
imul eax, eax, 0x38e38e39
push eax
push edx
call fcn.0054a800
mov esi, dword [esp + 0x44]
mov eax, esi
mov edx, dword [esp + 0x20]
sub eax, edx
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x1c], 0
test eax, eax
je 0x548a4e
xor ecx, ecx
mov dword [esp + 0x28], edx
add esi, 0xfffffffc
mov dword [esp + 0x24], ecx
mov eax, 4
mov dword [esp + 0x30], esi
lea edi, [edx + 0x18]
sub eax, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x4c], eax
nop
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
add eax, ecx
cmp dword [eax + 0x18], 0
jne 0x548a12
mov edx, dword [esp + 0x20]
mov ecx, edx
cmp dword [edx + 0x14], 0xf
jbe 0x548870
mov ecx, dword [edx]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00548bd0
test al, al
jne 0x548a0a
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x34], eax
je 0x5488cf
mov esi, dword [esp + 0x28]
cmp esi, edi
je 0x5488c1
mov ecx, esi
call fcn.004143d0
movups xmm0, xmmword [edi]
mov eax, dword [esp + 0x44]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [edi], 0
add edi, 0x18
add esi, 0x18
cmp edi, eax
jne 0x548891
mov esi, dword [esp + 0x30]
mov ecx, dword [esi]
cmp ecx, 0xf
jbe 0x548906
mov eax, dword [esi - 0x14]
inc ecx
cmp ecx, 0x1000
jb 0x5488f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548a68
mov eax, edx
push ecx
push eax
call fcn.005ab85c
mov eax, dword [esp + 0x4c]
add esp, 8
mov edi, dword [esp + 0x24]
sub eax, 0x18
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esi - 4], 0
mov dword [esi], 0xf
mov byte [esi - 0x14], 0
sub esi, 0x18
add edi, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], esi
lea esi, [edi + 0x24]
mov eax, dword [eax + 0x1e4]
mov dword [esp + 0x38], eax
cmp esi, eax
je 0x54898e
cmp edi, esi
je 0x548970
mov ecx, edi
call fcn.004143d0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
add esi, 0x24
mov dword [edi + 0x20], eax
add edi, 0x24
cmp esi, dword [esp + 0x38]
jne 0x548944
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x1e4]
mov ecx, dword [esi - 0x10]
cmp ecx, 0xf
jbe 0x5489cc
mov eax, dword [esi - 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x5489c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548a68
mov eax, edx
push ecx
push eax
call fcn.005ab85c
add esp, 8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
dec eax
mov ecx, dword [esp + 0x24]
sub edx, 0x18
sub dword [esp + 0x20], 0x18
mov dword [esi - 0x14], 0
mov dword [esi - 0x10], 0xf
mov byte [esi - 0x24], 0
add dword [edi + 0x1e4], 0xffffffdc
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
sub edi, 0x18
sub ecx, 0x24
jmp 0x548a16
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], 0x18
inc eax
mov dword [esp + 0x1c], eax
add edi, 0x18
mov eax, dword [esp + 0x4c]
add edx, 0x18
add eax, esi
mov dword [esp + 0x34], edi
sar eax, 3
add ecx, 0x24
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x1c], eax
jb 0x548850
lea ecx, [esp + 0x50]
call fcn.0054a730
lea ecx, [esp + 0x40]
call fcn.0040bf20
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.005c695f
int3