Function at 0x4f2b47
Capabilities:
Check http status code

Disassembly:
push ebp
mov eax, 0x408c
lea ebp, [esp - 0x78]
call fcn.00521447
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
cmp byte [ebx], 0x3e
mov dword [ebp + 0x70], ebx
jne 0x4f2a20
push 0x459f04
push dword [0x467fa8]
call fcn.00503db2
test eax, eax
pop ecx
pop ecx
mov ecx, 0x465c88
je 0x4f29e7
xor eax, eax
mov al, 3
cmp al, byte [ebx + 1]
sbb eax, eax
and eax, dword [0x467ffc]
xor esi, esi
push eax
inc esi
push esi
push esi
lea eax, [ebp + 0x6c]
push eax
push dword [0x467fa8]
push edi
push dword [0x467fa4]
push edi
push dword [0x467fa0]
call fcn.004d7aab
test eax, eax
jne 0x4f2a23
push esi
push edi
push 0xffffffffffffffff
push 0x45ae28
jmp 0x4f2e78
xor eax, eax
mov al, 3
cmp al, byte [ebx + 1]
sbb eax, eax
and eax, dword [0x467ffc]
push eax
push 1
push edi
lea eax, [ebp + 0x6c]
push eax
push dword [0x467fa8]
push 1
push dword [0x467fa4]
push edi
push dword [0x467fa0]
call fcn.004d7aab
test eax, eax
je 0x4f2e83
xor esi, esi
inc esi
mov al, byte [ebx]
cmp al, 0x5c
jne 0x4f2ae3
push edi
call dword [0x45847c]
push eax
push esi
push edi
push edi
push dword [0x467fa0]
call fcn.004de3ad
add esp, 0x14
test al, al
mov byte [ebp + 0x5c], al
jne 0x4f2a78
push edi
lea eax, [ebp + 0x50]
push eax
push dword [0x467fa0]
call fcn.004ed6d5
add esp, 0xc
cmp eax, edi
mov dword [ebp + 0x54], eax
je 0x4f2a71
cmp eax, 0xc
jl 0x4f2a71
cmp eax, 0x2b
jle 0x4f2a78
push esi
push edi
jmp 0x4f2e71
mov dword [ebp + 0x60], esi
mov esi, dword [0x467fa4]
mov byte [ebp + 0x76], 0
mov byte [ebp + 0x77], 1
mov dword [ebp + 0x68], edi
jmp 0x4f2acf
movsx eax, al
push eax
call fcn.0050cef6
cmp eax, 0x44
pop ecx
je 0x4f2aca
cmp eax, 0x4c
je 0x4f2ac5
cmp eax, 0x54
jne 0x4f2ace
lea eax, [esi + 1]
push eax
mov byte [ebp + 0x77], 0
call fcn.004cc477
fmul qword [0x45ae40]
pop ecx
call fcn.005219c3
mov dword [ebp + 0x68], eax
jmp 0x4f2ace
mov dword [ebp + 0x60], edi
jmp 0x4f2ace
mov byte [ebp + 0x76], 1
inc esi
mov al, byte [esi]
test al, al
jne 0x4f2a8e
lea eax, reloc.WINMM.dll_midiStreamOut
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], eax
jmp 0x4f2b39
cmp al, 0x3e
mov ecx, dword [0x467fa0]
mov esi, dword [0x467fa8]
je 0x4f2afc
cmp al, 0x5b
je 0x4f2b00
cmp byte [esi], 0
jne 0x4f2b05
cmp al, 0x5b
jne 0x4f2b32
cmp byte [ecx], 0
je 0x4f2b32
cmp al, 0x5b
mov byte [ebp + 0x77], 0
je 0x4f2b0f
mov ecx, esi
push ecx
call fcn.004cc477
fmul qword [0x45ae40]
pop ecx
call fcn.005219c3
cmp eax, 1
mov dword [ebp + 0x68], eax
jge 0x4f2b39
mov dword [ebp + 0x68], reloc.WINMM.dll_midiStreamOut
jmp 0x4f2b39
mov byte [ebp + 0x77], 1
mov dword [ebp + 0x68], edi
cmp byte [ebx], 0x3e
je 0x4f2b53
mov ecx, dword [0x465b20]
push 1
push edi
push 0xffffffffffffffff
push 0x45871c
call fcn.004cc7e9
cmp byte [ebx], 0x5b
jne 0x4f2b6d
push dword [0x467fa4]
call fcn.004ccc51
cmp eax, 1
pop ecx
mov byte [ebp + 0x75], 1
je 0x4f2b71
mov byte [ebp + 0x75], 0
mov ecx, dword [ebp + 0x70]
xor edi, edi
cmp byte [ecx + 1], 0
mov eax, 0x4001
lea esi, reloc.WINMM.dll_midiStreamOut
mov ebx, 0x4585d8
jbe 0x4f2bc6
test eax, eax
jne 0x4f2b96
mov dword [ebp + edi*4], ebx
jmp 0x4f2bba
push eax
push dword [edi*4 + 0x467fa0]
mov dword [ebp + edi*4], esi
push esi
call fcn.00503ed0
push esi
call fcn.00520ea7
lea esi, [esi + eax + 1]
lea eax, [ebp - 0x13]
add esp, 0x10
sub eax, esi
mov ecx, dword [ebp + 0x70]
movzx ecx, byte [ecx + 1]
inc edi
cmp edi, ecx
jl 0x4f2b8c
call dword [fcn.0045826c]
mov esi, dword [ebp + 0x70]
mov dword [ebp + 0x58], eax
mov edi, 0x465138
movzx eax, byte [esi]
sub eax, 0x3e
je 0x4f2db9
sub eax, 0x1d
je 0x4f2d89
dec eax
je 0x4f2d40
sub eax, 0x13
je 0x4f2ccc
dec eax
je 0x4f2c8b
dec eax
je 0x4f2c53
dec eax
jne 0x4f2ddb
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x4f2c19
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x4f2c22
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x4f2c2b
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x4f2c34
mov eax, ebx
push 1
push esi
push edx
push ecx
push eax
push edi
call fcn.00506e08
add esp, 0x18
test eax, eax
je 0x4f2d10
mov esi, dword [ebp + 0x70]
jmp 0x4f2ddb
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x4f2c5f
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x4f2c68
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x4f2c71
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x4f2c7a
mov eax, ebx
push 1
push esi
push edx
push ecx
push eax
push edi
call fcn.00506e08
add esp, 0x18
jmp 0x4f2d08
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x4f2c97
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x4f2ca0
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x4f2ca9
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x4f2cb2
mov eax, ebx
push 0
push 0
push 0
push 0
push esi
push edx
push ecx
push eax
push edi
call fcn.005070b0
add esp, 0x24
jmp 0x4f2c43
mov al, byte [esi + 1]
cmp al, 4
mov esi, dword [ebp + 0x10]
ja 0x4f2cd8
mov esi, ebx
cmp al, 3
mov edx, dword [ebp + 0xc]
ja 0x4f2ce1
mov edx, ebx
cmp al, 1
mov ecx, dword [ebp + 4]
ja 0x4f2cea
mov ecx, ebx
test al, al
mov eax, dword [ebp]
ja 0x4f2cf3
mov eax, ebx
push 0
push 0
push 1
push 0
push esi
push edx
push ecx
push eax
push edi
call fcn.005070b0
add esp, 0x24
test eax, eax
je 0x4f2c4b
mov eax, dword [0x46518c]
cmp eax, reloc.WINMM.dll_midiStreamOut
jle 0x4f2e49
cmp eax, 0x19
jge 0x4f2e3f
cmp byte [0x466341], 0
je 0x4f2e3f
push eax
call dword [fcn.00458264]
jmp 0x4f2e49
cmp byte [ebp + 0x5c], 0
je 0x4f2d5e
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
call fcn.004e9e6c
pop ecx
pop ecx
cmp al, byte [ebp + 0x76]
je 0x4f2e49
jmp 0x4f2ddb
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x50]
push dword [ebp + 0x54]
call fcn.004e9a9a
fld qword [0x45aab0]
fucompp
add esp, 0x10
fnstsw ax
test ah, 0x44
jnp 0x4f2d85
mov al, 1
jmp 0x4f2d53
xor al, al
jmp 0x4f2d53
cmp byte [ebp + 0x75], 0
je 0x4f2d9f
call dword [0x4584e0]
test eax, eax
jne 0x4f2e49
jmp 0x4f2ddb
push 1
call dword [0x458550]
test eax, eax
jne 0x4f2e49
push 0xf
call dword [0x458550]
jmp 0x4f2d95
cmp dword [ebp + 0x6c], 0
je 0x4f2dce
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x6c]
call dword [0x4581a0]
jmp 0x4f2dd2
and dword [ebp + 0x64], 0
cmp dword [ebp + 0x64], reloc.WINMM.dll_midiStreamOut
jne 0x4f2e4e
cmp byte [ebp + 0x77], 0
jne 0x4f2df6
call dword [fcn.0045826c]
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp + 0x58]
add edx, ecx
sub edx, eax
cmp edx, 5
jle 0x4f2e6d
push 1
push 0x8000012f
call fcn.004d681b
test al, al
pop ecx
pop ecx
je 0x4f2bd7
mov eax, dword [0x468688]
mov ecx, dword [ebp + 0x58]
mov dword [eax*4 + 0x468048], esi
mov dword [eax*4 + 0x467960], ecx
inc eax
cmp eax, 0x190
mov dword [0x468688], eax
jl 0x4f2bd7
and dword [0x468688], 0
jmp 0x4f2bd7
push 1
push eax
call fcn.004d681b
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x4f2e83
cmp dword [ebp + 0x6c], 0
je 0x4f2e5d
push dword [ebp + 0x6c]
call dword [fcn.00458224]
push dword [ebp + 0x64]
mov ecx, dword [0x465b20]
call fcn.004ccb1f
jmp 0x4f2e83
push 1
push 0
push 0xffffffffffffffff
push 0x459f14
mov ecx, dword [0x465b20]
call fcn.004cc7e9
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret