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

Disassembly:
jmp 0x1035e482
mov eax, 0x40ac
call fcn.10366402
mov eax, dword [esp + reloc.WINMM.dll_midiStreamOut]
push ebp
push edi
push 0x10041b9c
xor edi, edi
push eax
xor ebp, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 0x10018b80
mov dword [esp + 0x24], 0x10018ba0
mov dword [esp + 0x34], 0x10018b80
mov dword [esp + 0x38], 0x10018ba0
call fcn.10365807
add esp, 8
cmp eax, edi
mov dword [esp + 0x44], eax
jne 0x1035e4e7
call fcn.10366d41
cmp dword [eax], edi
je 0x1035e4e7
pop edi
xor al, al
pop ebp
add esp, 0x40ac
ret
lea ecx, [esp + 0x3c]
push esi
mov dword [esp + 0x40], 0x10018cf0
mov dword [esp + 0x44], 0x10018d40
mov dword [esp + 0x9c], 0x10018df0
mov dword [esp + 0xa0], 0x10018e50
mov dword [esp + 0xa4], 0x10018e70
mov dword [esp + 0xa8], 0x10018ed0
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], edi
call fcn.1035d272
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.1035deb2
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x1035e5ca
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.10359482
add esp, 8
cmp esi, edi
mov dword [esp + 0xc], esi
jne 0x1035e788
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 0x1035e776
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], edx
jmp 0x1035e602
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 0x1035e64d
push ebp
call fcn.103661a1
lea eax, [esi + esi]
add esp, 4
cmp eax, edi
mov dword [esp + 0x30], esi
je 0x1035e762
push eax
call fcn.1036618f
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x1035e764
push ebp
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.1035abb2
mov ecx, dword [esp + 0x24]
mov al, byte [ecx + 0x19]
add esp, 0xc
test al, al
jne 0x1035e6ac
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.1035e242
add esp, 0x28
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x1035e776
cmp word [ebp], di
je 0x1035e6da
mov esi, ebp
mov edi, ebp
cmp word [esi], 0x2f
jne 0x1035e6cd
mov eax, ebp
mov word [esi], 0
call fcn.1035d122
mov word [esi], 0x5c
add edi, 2
cmp word [edi], 0
mov esi, edi
jne 0x1035e6b6
xor edi, edi
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x19]
test al, al
je 0x1035e6ee
mov eax, ebp
call fcn.1035d122
jmp 0x1035e748
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
lea eax, [esp + 0x28]
push eax
mov eax, ebp
call fcn.1035d182
add esp, 4
test eax, eax
jne 0x1035e76e
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.103588d2
add esp, 0xc
test eax, eax
jne 0x1035e76e
cmp dword [esp + 0x14], esi
jne 0x1035e76e
lea edx, [esp + 0x28]
push edx
call fcn.103588b2
add esp, 4
test eax, eax
jne 0x1035e76e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
inc ebx
add ecx, 0x20
cmp ebx, eax
mov dword [esp + 0x18], ecx
jb 0x1035e602
jmp 0x1035e776
xor ebp, ebp
mov dword [esp + 0x10], 2
jmp 0x1035e776
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.10359482
push ebp
call fcn.103661a1
mov eax, dword [esp + 0x54]
add esp, 0xc
cmp eax, edi
pop esi
je 0x1035e7b2
push eax
call fcn.10365596
add esp, 4
cmp dword [esp + 8], edi
pop edi
sete al
pop ebp
add esp, 0x40ac
ret