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

Disassembly:
jmp 0x10307990
mov eax, 0x40ac
call fcn.1030cde0
mov eax, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ebp
push edi
push 0x1003b974
xor edi, edi
push eax
xor ebp, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 0x10016a90
mov dword [esp + 0x24], 0x10016a80
mov dword [esp + 0x34], 0x10016a90
mov dword [esp + 0x38], 0x10016a80
call fcn.1030c1e5
add esp, 8
cmp eax, edi
mov dword [esp + 0x44], eax
jne 0x103079f5
call fcn.1030d71f
cmp dword [eax], edi
je 0x103079f5
pop edi
xor al, al
pop ebp
add esp, 0x40ac
ret
lea ecx, [esp + 0x3c]
push esi
mov dword [esp + 0x40], 0x10016bf0
mov dword [esp + 0x44], 0x10016c40
mov dword [esp + 0x9c], 0x10016cf0
mov dword [esp + 0xa0], 0x10016d50
mov dword [esp + 0xa4], 0x10016d70
mov dword [esp + 0xa8], 0x10016dd0
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], edi
call fcn.10306780
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
call fcn.103073c0
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x10307ad8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10302990
add esp, 8
cmp esi, edi
mov dword [esp + 0xc], esi
jne 0x10307c96
mov eax, dword [esp + 0x68]
push ebx
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x3c], reloc.WINMM.dll_midiStreamOut
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edi
jbe 0x10307c84
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], edx
jmp 0x10307b10
mov eax, dword [esp + 0x90]
mov esi, dword [eax + ebx*4 + 4]
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x30]
sub esi, ecx
cmp esi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
jbe 0x10307b5b
push ebp
call fcn.1030cb7f
lea eax, [esi + esi]
add esp, 4
cmp eax, edi
mov dword [esp + 0x30], esi
je 0x10307c70
push eax
call fcn.1030cb6d
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x10307c72
push ebp
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.103040c0
mov ecx, dword [esp + 0x24]
mov al, byte [ecx + 0x19]
add esp, 0xc
test al, al
jne 0x10307bba
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x54]
push edx
push ebx
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.10307750
add esp, 0x28
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x10307c84
cmp word [ebp], di
je 0x10307be8
mov esi, ebp
mov edi, ebp
cmp word [esi], 0x2f
jne 0x10307bdb
mov eax, ebp
mov word [esi], 0
call fcn.10306630
mov word [esi], 0x5c
add edi, 2
cmp word [edi], 0
mov esi, edi
jne 0x10307bc4
xor edi, edi
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x19]
test al, al
je 0x10307bfc
mov eax, ebp
call fcn.10306630
jmp 0x10307c56
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
lea eax, [esp + 0x28]
push eax
mov eax, ebp
call fcn.10306690
add esp, 4
test eax, eax
jne 0x10307c7c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
add edx, eax
push edx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x20], esi
call fcn.10301de0
add esp, 0xc
test eax, eax
jne 0x10307c7c
cmp dword [esp + 0x14], esi
jne 0x10307c7c
lea edx, [esp + 0x28]
push edx
call fcn.10301dc0
add esp, 4
test eax, eax
jne 0x10307c7c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
inc ebx
add ecx, 0x20
cmp ebx, eax
mov dword [esp + 0x18], ecx
jb 0x10307b10
jmp 0x10307c84
xor ebp, ebp
mov dword [esp + 0x10], 2
jmp 0x10307c84
mov dword [esp + 0x10], 0xb
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [esp + 0x2c]
add esp, 8
pop ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.10302990
push ebp
call fcn.1030cb7f
mov eax, dword [esp + 0x54]
add esp, 0xc
cmp eax, edi
pop esi
je 0x10307cc0
push eax
call fcn.1030bf74
add esp, 4
cmp dword [esp + 8], edi
pop edi
sete al
pop ebp
add esp, 0x40ac
ret