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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5b970d
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
call fcn.00589ab7
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
xor ebx, ebx
mov dword [esp + 0x180], ebx
cmp edi, ebx
je 0x4c7d84
mov ecx, edi
call fcn.004e5100
jmp 0x4c7d86
xor edi, edi
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x184], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.004c6150
push edi
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.0047e2f0
add esp, 0xc
mov dword [esp + 0x180], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 2
call fcn.004c93e0
lea ebx, [esi + 4]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x184], 3
mov dword [esp + 0x2c], ebx
call fcn.004dfb50
test al, al
je 0x4c7f07
push 1
push 0x1d
push str.._sound_soundfile.cpp
lea ecx, [esp + 0x98]
call fcn.004e3750
push ebx
lea edx, [esp + 0x90]
push 0x5d75b8
push edx
mov byte [esp + 0x18c], 4
call fcn.00402cc0
add esp, 8
push eax
call fcn.00496550
add esp, 8
push 0
lea ecx, [esp + 0x90]
call fcn.004e38c0
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.00401f70
lea eax, [esp + 0x108]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 2
call fcn.004ca020
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x180], 1
test eax, eax
je 0x4c7eb9
mov esi, eax
or ecx, 0xffffffff
add eax, 4
lock xadd dword [eax], ecx
jne 0x4c7eb9
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
or edx, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], edx
jne 0x4c7eb9
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x24]
mov dword [esp + 0x180], 0xffffffff
test esi, esi
je 0x4c8433
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8433
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c8433
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x4c8433
lea ecx, [esp + 0x30]
call fcn.004dfbb0
mov edi, dword [esp + 0x20]
push eax
mov ecx, edi
call fcn.004922f0
push 0
mov ecx, edi
call fcn.00492410
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.004922e0
mov edi, eax
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x38]
call fcn.004dfb70
mov ecx, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x18]
push edx
call fcn.00515b80
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 5
call fcn.00405040
mov eax, dword [esp + 0x14]
mov byte [esp + 0x180], 3
test eax, eax
je 0x4c7fab
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4c7fab
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c7fab
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4c801e
push 1
push 0x27
push str.._sound_soundfile.cpp
lea ecx, [esp + 0x98]
call fcn.004e3750
push ebx
lea ecx, [esp + 0x90]
push 0x5d75a0
push ecx
mov byte [esp + 0x18c], 6
call fcn.00402cc0
add esp, 8
push eax
call fcn.00496550
add esp, 8
push 0
lea ecx, [esp + 0x90]
call fcn.004e38c0
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.00401f70
lea edx, [esp + 0x108]
push edx
jmp 0x4c7e59
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
cmp eax, 1
jne 0x4c80e1
push eax
push 0x2a
push str.._sound_soundfile.cpp
lea ecx, [esp + 0x98]
call fcn.004e3750
push ebx
lea eax, [esp + 0x90]
push 0x5d75a0
push eax
mov byte [esp + 0x18c], 7
call fcn.00402cc0
add esp, 8
push eax
call fcn.00496550
add esp, 8
push 0
lea ecx, [esp + 0x90]
call fcn.004e38c0
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.00401f70
lea ecx, [esp + 0x108]
push ecx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00588e93
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 2
call fcn.004ca020
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 1
call fcn.004e2360
lea ecx, [esp + 0x20]
mov dword [esp + 0x180], 0xffffffff
call fcn.004e2360
jmp 0x4c8433
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 2
call fcn.004ca020
lea ecx, [esp + 0x40]
call fcn.004e5100
mov edx, dword [esi + 0x38]
sub edx, dword [esi + 0x34]
xor edi, edi
mov byte [esp + 0x180], 8
test edx, 0xfffffff0
jle 0x4c81b5
xor ebx, ebx
lea esp, [esp]
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
sar eax, 4
cmp edi, eax
jb 0x4c8132
call fcn.00589a8c
mov eax, dword [esi + 0x34]
fld qword [eax + ebx]
mov ecx, dword [esp + 0x18]
fld qword [eax + ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
fstp qword [esp + 0x84]
add eax, ebx
sub esp, 8
lea eax, [esp + 0x38]
fstp qword [esp]
push eax
call edx
mov ecx, eax
call fcn.004c5060
fld qword [esp + 0x84]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
sub esp, 8
lea edx, [esp + 0x78]
fstp qword [esp]
push edx
call eax
mov ecx, eax
call fcn.004c5060
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
call fcn.004c6550
mov edx, dword [esi + 0x38]
sub edx, dword [esi + 0x34]
inc edi
sar edx, 4
add ebx, 0x10
cmp edi, edx
jl 0x4c8120
mov ebx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov esi, dword [esi + 0x24]
sub esi, edi
mov byte [esp + 0x180], 9
je 0x4c825e
sub esi, 1
je 0x4c8221
sub esi, 1
jne 0x4c8342
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004c7240
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0xd
call fcn.00405040
lea ecx, [esp + 0x58]
jmp 0x4c8331
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.004c6760
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0xc
mov dword [esp + 0x14], edx
call fcn.00405040
lea ecx, [esp + 0x60]
jmp 0x4c8331
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x7c]
push edx
call eax
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
test esi, esi
jge 0x4c828d
fadd qword [0x5d6ac8]
mov ecx, dword [eax + 4]
shr ecx, 3
imul ecx, dword [eax + 8]
imul ecx, dword [eax]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
test ecx, ecx
jge 0x4c82ac
fadd qword [0x5d6ac8]
fdivp st(1)
fcomp qword [0x5d7598]
fnstsw ax
test ah, 5
jp 0x4c82f5
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.004c6760
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0xa
mov dword [esp + 0x14], edx
call fcn.00405040
lea ecx, [esp + 0x68]
jmp 0x4c8331
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.004c7240
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 0xb
call fcn.00405040
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 9
call fcn.004e2360
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [eax + 0x10]
mov dword [eax + 0xc], edx
call fcn.00405040
xor ebx, ebx
mov byte [esp + 0x180], 8
cmp edi, ebx
je 0x4c8392
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4c8392
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c8392
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4c83a3
push eax
call fcn.0058984a
add esp, 4
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0058984a
mov esi, dword [esp + 0x20]
add esp, 4
mov byte [esp + 0x180], 1
cmp esi, ebx
je 0x4c83f6
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c83f6
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c83f6
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0x180], 0xffffffff
cmp esi, ebx
je 0x4c8433
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c8433
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c8433
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00589f78
mov esp, ebp
pop ebp
ret 8