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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x780838
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], 0
cmp byte [0x8c0b38], 0
mov dword [esp + 0x2c], ebx
jne 0x71767c
cmp byte [ebx + 0xd5], 0
mov byte [0x8c0b38], 1
je 0x7173d5
mov ecx, dword [ebx + 0xcc]
sub ecx, dword [ebx + 0xc8]
lea esi, [ebx + 0xbc]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], esi
je 0x7173d5
call fcn.00412c20
lea ecx, [esp + 0x84]
push ecx
mov edi, eax
call fcn.00412370
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x104], 0
mov byte [esp + 0x2b], 1
call fcn.00403590
mov byte [esp + 0x100], 1
cmp dword [esp + 0x7c], 0
jne 0x716e03
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x3c]
push eax
lea ecx, [esp + 0x74]
call fcn.00401880
lea edi, [ebx + 0x3c]
mov eax, edi
lea ecx, [esp + 0x68]
call fcn.00406cf0
test al, al
jne 0x716e22
mov byte [esp + 0x28], al
cmp byte [esp + 0xbc], al
je 0x716e27
mov byte [esp + 0x28], 1
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.00401880
mov eax, edi
mov ecx, ebx
call fcn.007154e0
mov dword [esp + 0x34], eax
test eax, eax
je 0x717348
cmp byte [esp + 0x28], 0
je 0x7170b5
cmp dword [edi + 0x18], 8
jb 0x716e62
mov edi, dword [edi + 4]
jmp 0x716e65
add edi, 4
push edi
push str.Song_started:__s_r_n
call fcn.00439b10
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x1c]
add esp, 8
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
lea edi, [ebx + 4]
push edx
mov dword [esp + 0x30], eax
call fcn.00412630
mov eax, dword [edi + 0x18]
mov ecx, dword [edi]
lea esi, [esp + 0x38]
lea edi, [esp + 0x44]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
call fcn.00412e50
test al, al
je 0x7170b5
mov esi, edi
call fcn.00412e20
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
add esi, 4
mov ebx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add ebx, 8
xor edi, edi
add eax, edx
je 0x716f23
call fcn.004126c0
fld dword [eax]
sub esp, 8
add eax, 8
fstp qword [esp]
call fcn.00435d30
mov ecx, dword [ebx]
push 0
mov eax, edi
call fcn.0058eca0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
add esp, 4
cmp edi, ecx
jb 0x716ee2
mov esi, dword [esp + 0x34]
fild dword [esi + 0xd4]
sub esp, 8
lea eax, [esi + 0xd8]
fstp qword [esp]
call fcn.00435d30
mov ecx, eax
call fcn.00436230
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov ecx, dword [ebx]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
fldcw word [esp + 0x28]
call fcn.0058ebe0
mov edx, dword [esi]
lea edi, [esi + 0x60]
sub esp, 8
mov eax, edi
fld qword [0x7a8008]
mov dword [esp + 0x30], edx
fstp qword [esp]
call fcn.00435d30
mov al, byte [esi + 0x5d]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
mov byte [ecx + 0xd7], al
mov eax, dword [0x88b12c]
fld qword [eax + 0xf8]
sub esp, 8
fstp qword [esp]
call edx
mov ecx, edi
call fcn.00436230
fmul dword [esi + 0xd0]
fcomp qword [ebx + 0x18]
fnstsw ax
test ah, 5
jp 0x716fd5
mov ecx, edi
call fcn.00436230
fmul dword [esi + 0xd0]
jmp 0x716fd8
fld qword [ebx + 0x18]
fst qword [ebx + 8]
fldz
fstp qword [ebx + 0x10]
cmp byte [esi + 0x5c], 0
sete al
mov byte [ebx + 0x20], al
mov eax, dword [ebx]
mov edi, eax
test eax, eax
jne 0x716ff5
mov edi, dword [ebx + 4]
fmul qword [0x82dc58]
call fcn.0076f850
push eax
push edi
call fcn.0058ecf0
mov eax, dword [ebx]
add esp, 8
test eax, eax
jne 0x717013
mov eax, dword [ebx + 4]
push eax
call dword [0x886b8c]
mov eax, dword [ebx]
test eax, eax
je 0x71707e
movzx ecx, byte [esi + 0x5c]
movzx edi, word [esp + 0x28]
neg ecx
sbb ecx, ecx
and ecx, 4
push 0xffffffffffffffff
or ecx, 0x400200
push ecx
push eax
call dword [0x886b98]
push 1
mov eax, edi
cdq
push edx
mov edx, dword [ebx]
push eax
push edx
call dword [0x886bc8]
test eax, eax
jne 0x717061
push 1
push eax
push eax
mov eax, dword [ebx]
push eax
call dword [0x886bc8]
mov ecx, dword [ebx]
push 0
push ecx
call dword [0x886ba8]
mov edx, dword [ebx]
push 0x400000
push 0
push edx
call dword [0x886b98]
jmp 0x7170b5
mov edi, dword [esp + 0x28]
movzx eax, byte [esi + 0x5c]
mov esi, dword [ebx + 4]
xor ecx, ecx
cmp edi, 0xffffffff
setne cl
neg eax
sbb eax, eax
and eax, 4
push ecx
call fcn.0058eb90
add esp, 4
test edi, edi
jle 0x7170b5
mov esi, dword [ebx + 4]
mov eax, edi
cdq
push edx
push eax
call fcn.0058ed30
add esp, 8
lea eax, [esp + 0xa0]
push eax
lea edi, [esp + 0x50]
call fcn.0043a440
add esp, 4
mov esi, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
add esi, 0x5c
push ecx
mov byte [esp + 0x108], 2
call fcn.004127f0
mov ecx, edi
mov byte [esp + 0x100], 1
call fcn.00406fb0
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov esi, dword [eax + 0x74]
add eax, 0x5c
mov eax, dword [eax]
test ebx, ebx
je 0x71710a
cmp ebx, eax
je 0x71710f
call fcn.006441b7
cmp dword [esp + 0x3c], esi
je 0x71717f
lea edx, [esp + 0xa0]
push edx
lea edi, [esp + 0x50]
call fcn.0043a440
add esp, 4
mov esi, eax
mov byte [esp + 0x100], 3
or dword [esp + 0x30], 1
test ebx, ebx
jne 0x717166
call fcn.006441b7
xor eax, eax
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x18]
jne 0x717151
call fcn.006441b7
mov ecx, dword [esp + 0x3c]
mov edi, dword [esi + 0x14]
add ecx, 0xc
cmp dword [esi + 0x18], 8
jb 0x71716a
mov esi, dword [esi + 4]
jmp 0x71716d
mov eax, dword [ebx]
jmp 0x717143
add esi, 4
mov eax, dword [ecx + 0x14]
push esi
call fcn.00404150
mov byte [esp + 0x28], 1
test eax, eax
je 0x717184
mov byte [esp + 0x28], 0
mov dword [esp + 0x100], 1
test byte [esp + 0x30], 1
je 0x7171af
and dword [esp + 0x30], 0xfffffffe
cmp dword [esp + 0x64], 8
jb 0x7171af
mov edx, dword [esp + 0x50]
push edx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x28], 0
je 0x7171fb
test ebx, ebx
jne 0x7171f7
call fcn.006441b7
xor eax, eax
mov esi, dword [esp + 0x3c]
cmp esi, dword [eax + 0x18]
jne 0x7171cf
call fcn.006441b7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esi, 0x28
push esi
push eax
call fcn.00716a60
test al, al
jne 0x7171e9
mov byte [esp + 0x27], al
lea esi, [esp + 0x38]
call fcn.004149d0
jmp 0x7170f2
mov eax, dword [ebx]
jmp 0x7171c1
lea ecx, [esp + 0xa0]
push ecx
lea edi, [esp + 0x50]
call fcn.0043a440
add esp, 4
mov esi, dword [esp + 0x34]
push eax
lea edx, [esp + 0x48]
add esi, 0x3c
push edx
mov byte [esp + 0x108], 4
call fcn.004127f0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x100], 1
call fcn.00406fb0
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x54]
add eax, 0x3c
mov eax, dword [eax]
test ebx, ebx
je 0x717259
cmp ebx, eax
je 0x71725e
call fcn.006441b7
cmp dword [esp + 0x3c], esi
je 0x7172ca
lea ecx, [esp + 0xa0]
push ecx
lea edi, [esp + 0x50]
call fcn.0043a440
add esp, 4
mov esi, eax
mov byte [esp + 0x100], 5
or dword [esp + 0x30], 2
test ebx, ebx
jne 0x7172b1
call fcn.006441b7
xor eax, eax
mov edi, dword [esp + 0x3c]
cmp edi, dword [eax + 0x18]
jne 0x7172a0
call fcn.006441b7
cmp dword [esi + 0x18], 8
lea ecx, [edi + 0xc]
mov edi, dword [esi + 0x14]
jb 0x7172b5
mov esi, dword [esi + 4]
jmp 0x7172b8
mov eax, dword [ebx]
jmp 0x717292
add esi, 4
mov eax, dword [ecx + 0x14]
push esi
call fcn.00404150
mov byte [esp + 0x28], 1
test eax, eax
je 0x7172cf
mov byte [esp + 0x28], 0
mov dword [esp + 0x100], 1
test byte [esp + 0x30], 2
je 0x7172fa
and dword [esp + 0x30], 0xfffffffd
cmp dword [esp + 0x64], 8
jb 0x7172fa
mov edx, dword [esp + 0x50]
push edx
call fcn.006441c7
add esp, 4
cmp byte [esp + 0x28], 0
je 0x717358
test ebx, ebx
jne 0x717344
call fcn.006441b7
mov esi, dword [esp + 0x3c]
cmp esi, dword [ebx + 0x18]
jne 0x717318
call fcn.006441b7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esi, 0x28
push esi
push eax
call fcn.00716a60
test al, al
jne 0x717332
mov byte [esp + 0x27], al
lea esi, [esp + 0x38]
call fcn.004149d0
mov ebx, dword [esp + 0x38]
jmp 0x717245
mov ebx, dword [ebx]
jmp 0x71730a
mov byte [ebx + 0xd6], 1
mov byte [ebx + 0xd7], 0
jmp 0x717363
cmp byte [esp + 0x27], 0
je 0x717382
mov esi, dword [esp + 0x40]
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x717370
call fcn.006441b7
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx]
push edi
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00412da0
cmp dword [esp + 0x80], 8
mov edx, dword [esp + 0x2c]
mov byte [edx + 0xd4], 1
jb 0x7173a4
mov eax, dword [esp + 0x6c]
push eax
call fcn.006441c7
add esp, 4
xor ecx, ecx
lea esi, [esp + 0x84]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], cx
mov dword [esp + 0x100], 0xffffffff
call fcn.00415d40
mov esi, dword [esp + 0x2c]
lea eax, [esi + 0x3c]
mov ecx, esi
mov byte [esi + 0xd5], 1
call fcn.007154e0
mov ebx, eax
test ebx, ebx
je 0x717675
lea edx, [ebx + 0x1c]
push edx
lea eax, [esp + 0x3c]
lea edi, [esi + 4]
push eax
call fcn.00412630
mov eax, dword [esp + 0x38]
mov esi, dword [edi + 0x18]
mov edi, dword [edi]
test eax, eax
je 0x717416
cmp eax, edi
je 0x71741b
call fcn.006441b7
cmp dword [esp + 0x3c], esi
je 0x71766a
lea esi, [esp + 0x38]
call fcn.00412e20
mov ecx, dword [esp + 0x2c]
mov edi, eax
add edi, 8
cmp byte [ecx + 0xd4], 0
mov dword [esp + 0x40], edi
jne 0x717463
cmp dword [ebx + 0xdc], 6
jne 0x71745c
lea esi, [ebx + 0xd8]
call fcn.004364c0
test al, al
je 0x717463
mov byte [esp + 0x27], 0
jmp 0x717468
mov byte [esp + 0x27], 1
lea esi, [ebx + 0xd8]
mov ecx, esi
call fcn.004363d0
test al, al
mov eax, dword [esp + 0x2c]
sete dl
and byte [eax + 0xd5], dl
cmp byte [esp + 0x27], 0
je 0x7174c4
cmp dword [ebx + 0xdc], 6
jne 0x7174c4
mov ecx, esi
call fcn.00436230
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
mov ecx, dword [edi]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x44]
mov eax, dword [esp + 0x44]
fldcw word [esp + 0x28]
call fcn.0058ebe0
mov eax, dword [edi]
push eax
call dword [0x886ae8]
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x7174de
or ecx, 0xffffffff
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
cmp byte [eax + 0xd4], 0
jne 0x717500
cmp dword [ebx + 0x64], 6
jne 0x7174f9
lea esi, [ebx + 0x60]
call fcn.004364c0
test al, al
je 0x717500
mov byte [esp + 0x27], 0
jmp 0x717505
mov byte [esp + 0x27], 1
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.004363d0
test al, al
mov eax, dword [esp + 0x2c]
sete cl
and byte [eax + 0xd5], cl
cmp byte [esp + 0x27], 0
je 0x717573
mov ecx, esi
call fcn.00436230
fmul dword [ebx + 0xd0]
fcomp qword [edi + 0x18]
fnstsw ax
test ah, 5
jp 0x71754b
mov ecx, esi
call fcn.00436230
fmul dword [ebx + 0xd0]
jmp 0x71754e
fld qword [edi + 0x18]
mov eax, dword [edi]
fst qword [edi + 8]
test eax, eax
je 0x71755b
mov edi, eax
jmp 0x71755e
mov edi, dword [edi + 4]
fmul qword [0x82dc58]
call fcn.0076f850
push eax
push edi
call fcn.0058ecf0
add esp, 8
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], esi
je 0x71766a
mov dword [esp + 0x30], esi
lea esp, [esp]
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x34], ecx
jb 0x7175c4
call fcn.006441b7
mov edi, dword [ebx + 0x10]
mov edx, dword [esp + 0x2c]
add edi, dword [esp + 0x30]
cmp byte [edx + 0xd4], 0
jne 0x7175f1
cmp dword [edi + 0xc], 6
jne 0x7175ea
lea esi, [edi + 8]
call fcn.004364c0
test al, al
je 0x7175f1
mov byte [esp + 0x28], 0
jmp 0x7175f6
mov byte [esp + 0x28], 1
add edi, 8
mov ecx, edi
call fcn.004363d0
test al, al
mov eax, dword [esp + 0x2c]
sete cl
and byte [eax + 0xd5], cl
cmp byte [esp + 0x28], 0
je 0x71763b
mov ecx, edi
call fcn.00436230
fmul qword [0x82dc58]
call fcn.0076f850
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
push eax
mov eax, dword [esp + 0x38]
call fcn.0058eca0
add esp, 4
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x34]
add dword [esp + 0x30], 0x78
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x34], esi
cmp esi, eax
jb 0x7175a0
mov ecx, dword [esp + 0x2c]
mov byte [ecx + 0xd4], 0
mov byte [0x8c0b38], 0
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret