Function at 0x100ef8a7
Capabilities:
Check http status code

Disassembly:
sub esp, 0x42c
mov eax, dword [0x101b9540]
push ebp
push esi
mov esi, dword [esp + reloc.WINMM.dll_midiStreamOut]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + reloc.WINMM.dll_midiStreamOut], eax
mov dword [esp + 0x10], ebp
jne 0x100ef8e3
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
call fcn.101a6cf4
add esp, 0x42c
ret
mov eax, dword [esp + reloc.WINMM.dll_midiStreamOut]
push edi
push ebp
push ebp
push ebp
push ebp
push eax
call dword [fcn.101676e8]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x20], edi
je 0x100ef91b
push ebp
push ebp
push ebp
push ebp
push esi
push edi
call dword [0x101676e4]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x100ef933
push edi
call dword [fcn.101676f8]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
call fcn.101a6cf4
add esp, 0x42c
ret
mov esi, dword [0x10167708]
xor ecx, ecx
mov dword [esp + 0x25], ecx
mov dword [esp + 0x29], ecx
mov dword [esp + 0x2d], ecx
push ebp
mov word [esp + 0x35], cx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x3b], cl
lea ecx, [esp + 0x2c]
push ecx
push 0x13
mov edi, 0x10
push eax
mov byte [esp + 0x38], 0
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x100efb65
mov eax, dword [esp + 0x18]
cmp eax, edi
jae 0x100ef983
mov byte [esp + eax + 0x24], 0
lea edx, [esp + 0x24]
push edx
call fcn.101a749c
add esp, 4
cmp eax, 0xc8
jne 0x100efb65
xor eax, eax
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x40], eax
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
push 5
push eax
mov dword [esp + 0x30], edi
call esi
test eax, eax
je 0x100efaa1
mov eax, dword [esp + 0x1c]
cmp eax, edi
jae 0x100ef9e4
mov byte [esp + eax + 0x28], 0
lea ecx, [esp + 0x28]
push ecx
call fcn.101a749c
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x20], esi
jbe 0x100efb64
cmp esi, 0xfa000
jae 0x100efb64
push esi
call fcn.101a793c
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x10]
push edx
mov dword [ebx], eax
push 0x400
lea eax, [esp + 0x40]
push eax
push ecx
call dword [fcn.1016770c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100efa7f
lea edx, [ecx + ebp]
cmp edx, esi
ja 0x100efa7f
mov edi, dword [ebx]
mov eax, ecx
shr ecx, 2
add edi, ebp
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebp, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0x40]
push edx
push eax
call dword [fcn.1016770c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov esi, dword [esp + 0x20]
jne 0x100efa38
cmp esi, ebp
jne 0x100efa99
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov dword [ecx], ebp
mov dword [esp + 0x18], 1
jmp 0x100efb64
mov edx, dword [ebx]
push edx
jmp 0x100efb54
mov eax, dword [ebx]
push 0x400
push eax
call fcn.101a8f4a
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0x40]
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [fcn.1016770c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100efb4d
lea edx, [ecx + ebp]
cmp edx, 0x300000
ja 0x100efb4d
mov edi, dword [ebx]
mov eax, ecx
shr ecx, 2
add edi, ebp
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
add ebp, eax
lea ecx, reloc.WINMM.dll_midiStreamOut
push ecx
push edx
call fcn.101a8f4a
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [ebx], eax
lea eax, [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [fcn.1016770c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x100efad9
test ebp, ebp
je 0x100efb4d
mov eax, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov dword [eax], ebp
mov dword [esp + 0x18], 1
jmp 0x100efb64
mov ebx, dword [ebx]
test ebx, ebx
je 0x100efb5c
push ebx
call fcn.101a7154
add esp, 4
mov dword [esp + 0x18], 0
pop ebx
mov ecx, dword [esp + 0x10]
mov esi, dword [fcn.101676f8]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
call fcn.101a6cf4
add esp, 0x42c
ret