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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
lea ebx, [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp], ebx
mov dword [esp + 0x54], 0x595d20
mov dword [esp + 0x58], 0x5988cc
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0x55f871
mov dword [esp + 0x64], esp
call fcn.0057d6b0
mov eax, dword [esp + 0x24]
cmp byte [eax + 6], 0
je 0x55f84c
cmp dword [esp + 0xb0], 1
je 0x55f2c8
cmp dword [esp + 0xb0], 2
je 0x55f398
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x55f378
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0057d740
mov eax, dword [esp + 0x20]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x170]
cmp dword [eax + 0x164], edi
setl al
test al, al
je 0x55f364
mov dword [esp], 0x24
mov dword [esp + 0x40], 0xffffffff
call fcn.00595100
mov dword [esp + 0x40], 1
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.005603f0
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], esi
call fcn.00560570
sub esp, 4
test al, al
jne 0x55f3b0
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x55f34e
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
mov eax, dword [eax]
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x20], 0
jmp 0x55f2a7
mov dword [esp + 0x20], 0
jmp 0x55f2a7
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x16c]
cmp dword [eax + 0x160], edx
jge 0x55f2a7
jmp 0x55f2e3
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x174]
cmp dword [eax + 0x168], esi
setl al
jmp 0x55f2db
mov dword [esp], 0x24
mov dword [esp + 0x40], 0xffffffff
call fcn.00595100
mov edx, dword [esp + 0xb0]
mov dword [eax], 0
mov dword [eax + 8], edx
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 1
mov dword [esp], 0x4000
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], 2
call fcn.005950f0
mov edi, dword [esp + 0x28]
mov dword [edi + 0x20], eax
mov eax, edi
lea edi, [edi + 4]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edi
test edx, edx
je 0x55f480
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], 0
call fcn.0055e620
mov eax, dword [esp + 0x2c]
mov dword [esp], 1
mov dword [esp + 4], eax
call dword [sym.imp.OpenAL32.dll_alDeleteSources]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x55f460
mov dword [esp], eax
call fcn.005950b0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x24
mov dword [esp], eax
call fcn.005950e0
jmp 0x55f34e
mov eax, dword [esp + 0x2c]
mov dword [esp], 1
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.OpenAL32.dll_alGenSources]
mov eax, dword [sym.imp.OpenAL32.dll_alGetError]
mov dword [esp + 0x30], eax
call eax
test eax, eax
je 0x55f4c0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
je 0x55f44d
jmp 0x55f427
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, 0xffffd8f0
mov dword [esi], eax
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0xbf800000
mov dword [esp + 0xc], 0
cmp eax, edx
mov dword [esp + 4], 0x1004
cmovl eax, edx
mov edx, 0x2710
cmp eax, edx
cmovg eax, edx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov dword [esp + 0x28], esi
fstp dword [esp + 0x7c]
fld dword [0x5abe14]
fmul dword [esp + 0x7c]
fstp dword [esp + 0x80]
fld dword [0x5abe18]
fdivr dword [esp + 0x80]
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 8]
mov eax, dword [esi + 4]
mov dword [esp], eax
call dword [sym.imp.OpenAL32.dll_alSource3f]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x178]
add eax, dword [edx]
mov edx, dword [esi + 4]
mov dword [esp + 0x34], edx
cmp eax, 0xffffd8f1
jl 0x55f680
xor edx, edx
test eax, eax
mov dword [esp], 0x41200000
cmovg eax, edx
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x88]
fld dword [0x5abe20]
fdivr dword [esp + 0x88]
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fstp dword [esp + 4]
call fcn.0057dc10
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0x100a
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
fstp dword [esp + 8]
call dword [sym.imp.OpenAL32.dll_alSourcef]
mov eax, dword [esp + 0x30]
call eax
test eax, eax
jne 0x55f4ac
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1c], 0
je 0x55f608
mov dword [esp], 4
mov ecx, eax
call fcn.0055e340
sub esp, 4
mov edi, dword [esp + 0x24]
lea eax, [edi + 0x14c]
mov dword [esp + 0x2c], eax
cmp eax, dword [edi + 0x154]
je 0x55f802
mov dword [esp], eax
call fcn.005940b0
mov eax, dword [eax + 0x10]
lea edx, [eax + 1]
mov eax, 1
test edx, edx
cmovg eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 0x150]
test ebx, ebx
je 0x55f82d
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
mov eax, ebx
jmp 0x55f666
mov eax, ecx
test eax, eax
je 0x55f690
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
cmp edi, dword [eax + 0x10]
jg 0x55f660
mov esi, eax
mov eax, edx
jmp 0x55f662
mov dword [esp + 0x78], 0
jmp 0x55f5ba
mov ebp, dword [esp + 0x2c]
cmp ebp, esi
je 0x55f6dd
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 0x10]
jl 0x55f6dd
mov esi, eax
lea esi, [esi]
nop
add esi, 1
mov edi, ebp
mov eax, ebx
jmp 0x55f6c0
mov edi, eax
mov eax, ecx
test eax, eax
je 0x55f6d0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
cmp esi, dword [eax + 0x10]
jle 0x55f6b8
mov eax, edx
jmp 0x55f6bc
cmp edi, ebp
je 0x55f6d9
cmp esi, dword [edi + 0x10]
jge 0x55f6a8
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
jmp 0x55f6f8
mov esi, ebx
mov ebx, edx
test ebx, ebx
je 0x55f710
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 0x10], ecx
jge 0x55f6f0
mov ebx, eax
jmp 0x55f6f4
mov dword [esp + 0x30], esi
cmp dword [esp + 0x2c], esi
je 0x55f727
mov edx, dword [esp + 0x20]
cmp dword [esi + 0x10], edx
jle 0x55f7bb
mov dword [esp], 0x18
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], eax
call fcn.00595100
mov edi, dword [esp + 0x20]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], eax
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
lea ecx, [edi + 0x148]
mov dword [esp], eax
call fcn.00593e70
sub esp, 8
mov dword [esp + 0x34], eax
test edx, edx
je 0x55f80f
cmp dword [esp + 0x2c], edx
je 0x55f78f
test eax, eax
je 0x55f83a
mov eax, 1
mov dword [esp + 8], edx
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
call fcn.005948b0
mov eax, dword [esp + 0x24]
add dword [eax + 0x15c], 1
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0xb0], 1
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x24]
je 0x55f7ea
cmp dword [esp + 0xb0], 2
je 0x55f7f6
add dword [eax + 0x160], 1
jmp 0x55f2a7
add dword [eax + 0x164], 1
jmp 0x55f2a7
add dword [eax + 0x168], 1
jmp 0x55f2a7
mov dword [esp + 0x20], 1
jmp 0x55f63e
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x18
mov dword [esp], eax
call fcn.005950e0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
jmp 0x55f7bb
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
jmp 0x55f727
mov eax, dword [esp + 0x20]
cmp dword [edx + 0x10], eax
setg al
movzx eax, al
jmp 0x55f794
mov dword [esp + 8], 0x234
mov dword [esp + 4], str.openal_audio.cpp
mov dword [esp], str.this__wav_init_flag
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.msvcrt.dll__assert]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x55f8a9
mov dword [esp + 4], 0x24
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.005950e0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call fcn.0057da60
sub eax, 1
jne 0x55f8bc
mov dword [esp + 4], 0x24
mov eax, dword [esp + 0x28]
jmp 0x55f88d
ud2